@wildboar/acse
Version:
Association Control Service Element PDUs in TypeScript
212 lines (211 loc) • 9.87 kB
JavaScript
import * as $ from '@wildboar/asn1/functional';
/**
* @summary Associate_source_diagnostic_acse_service_user_null_
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_null_ = 0; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_null_
* @constant
* @type {number}
*/
export const null_ = Associate_source_diagnostic_acse_service_user_null_; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_no_reason_given
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_no_reason_given = 1; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_no_reason_given
* @constant
* @type {number}
*/
export const no_reason_given = Associate_source_diagnostic_acse_service_user_no_reason_given; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_application_context_name_not_supported
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_application_context_name_not_supported = 2; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_application_context_name_not_supported
* @constant
* @type {number}
*/
export const application_context_name_not_supported = Associate_source_diagnostic_acse_service_user_application_context_name_not_supported; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_calling_AP_title_not_recognized
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_calling_AP_title_not_recognized = 3; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_calling_AP_title_not_recognized
* @constant
* @type {number}
*/
export const calling_AP_title_not_recognized = Associate_source_diagnostic_acse_service_user_calling_AP_title_not_recognized; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_calling_AP_invocation_identifier_not_recognized
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_calling_AP_invocation_identifier_not_recognized = 4; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_calling_AP_invocation_identifier_not_recognized
* @constant
* @type {number}
*/
export const calling_AP_invocation_identifier_not_recognized = Associate_source_diagnostic_acse_service_user_calling_AP_invocation_identifier_not_recognized; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_calling_AE_qualifier_not_recognized
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_calling_AE_qualifier_not_recognized = 5; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_calling_AE_qualifier_not_recognized
* @constant
* @type {number}
*/
export const calling_AE_qualifier_not_recognized = Associate_source_diagnostic_acse_service_user_calling_AE_qualifier_not_recognized; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_calling_AE_invocation_identifier_not_recognized
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_calling_AE_invocation_identifier_not_recognized = 6; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_calling_AE_invocation_identifier_not_recognized
* @constant
* @type {number}
*/
export const calling_AE_invocation_identifier_not_recognized = Associate_source_diagnostic_acse_service_user_calling_AE_invocation_identifier_not_recognized; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_called_AP_title_not_recognized
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_called_AP_title_not_recognized = 7; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_called_AP_title_not_recognized
* @constant
* @type {number}
*/
export const called_AP_title_not_recognized = Associate_source_diagnostic_acse_service_user_called_AP_title_not_recognized; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_called_AP_invocation_identifier_not_recognized
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_called_AP_invocation_identifier_not_recognized = 8; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_called_AP_invocation_identifier_not_recognized
* @constant
* @type {number}
*/
export const called_AP_invocation_identifier_not_recognized = Associate_source_diagnostic_acse_service_user_called_AP_invocation_identifier_not_recognized; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_called_AE_qualifier_not_recognized
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_called_AE_qualifier_not_recognized = 9; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_called_AE_qualifier_not_recognized
* @constant
* @type {number}
*/
export const called_AE_qualifier_not_recognized = Associate_source_diagnostic_acse_service_user_called_AE_qualifier_not_recognized; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_called_AE_invocation_identifier_not_recognized
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_called_AE_invocation_identifier_not_recognized = 10; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_called_AE_invocation_identifier_not_recognized
* @constant
* @type {number}
*/
export const called_AE_invocation_identifier_not_recognized = Associate_source_diagnostic_acse_service_user_called_AE_invocation_identifier_not_recognized; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_authentication_mechanism_name_not_recognized
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_authentication_mechanism_name_not_recognized = 11; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_authentication_mechanism_name_not_recognized
* @constant
* @type {number}
*/
export const authentication_mechanism_name_not_recognized = Associate_source_diagnostic_acse_service_user_authentication_mechanism_name_not_recognized; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_authentication_mechanism_name_required
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_authentication_mechanism_name_required = 12; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_authentication_mechanism_name_required
* @constant
* @type {number}
*/
export const authentication_mechanism_name_required = Associate_source_diagnostic_acse_service_user_authentication_mechanism_name_required; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_authentication_failure
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_authentication_failure = 13; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_authentication_failure
* @constant
* @type {number}
*/
export const authentication_failure = Associate_source_diagnostic_acse_service_user_authentication_failure; /* SHORT_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_authentication_required
* @constant
* @type {number}
*/
export const Associate_source_diagnostic_acse_service_user_authentication_required = 14; /* LONG_NAMED_INTEGER_VALUE */
/**
* @summary Associate_source_diagnostic_acse_service_user_authentication_required
* @constant
* @type {number}
*/
export const authentication_required = Associate_source_diagnostic_acse_service_user_authentication_required; /* SHORT_NAMED_INTEGER_VALUE */
let _cached_decoder_for_Associate_source_diagnostic_acse_service_user = null;
/**
* @summary Decodes an ASN.1 element into a(n) Associate_source_diagnostic_acse_service_user
* @function
* @param {_Element} el The element being decoded.
* @returns {Associate_source_diagnostic_acse_service_user} The decoded data structure.
*/
export function _decode_Associate_source_diagnostic_acse_service_user(el) {
if (!_cached_decoder_for_Associate_source_diagnostic_acse_service_user) {
_cached_decoder_for_Associate_source_diagnostic_acse_service_user =
$._decodeInteger;
}
return _cached_decoder_for_Associate_source_diagnostic_acse_service_user(el);
}
let _cached_encoder_for_Associate_source_diagnostic_acse_service_user = null;
/**
* @summary Encodes a(n) Associate_source_diagnostic_acse_service_user into an ASN.1 Element.
* @function
* @param value The element being encoded.
* @param elGetter A function that can be used to get new ASN.1 elements.
* @returns {_Element} The Associate_source_diagnostic_acse_service_user, encoded as an ASN.1 Element.
*/
export function _encode_Associate_source_diagnostic_acse_service_user(value, elGetter) {
if (!_cached_encoder_for_Associate_source_diagnostic_acse_service_user) {
_cached_encoder_for_Associate_source_diagnostic_acse_service_user =
$._encodeInteger;
}
return _cached_encoder_for_Associate_source_diagnostic_acse_service_user(value, elGetter);
}
/* eslint-enable */