import { ASN1Element as _Element } from '@wildboar/asn1'; import * as $ from '@wildboar/asn1/functional'; import { DistinguishedName } from '@wildboar/cmip'; import { Proxy } from '../AccessControl-ASN1Module/Proxy.ta.mjs'; /** * @summary SecurityDomainAuthorityName * @description * * ### ASN.1 Definition: * * ```asn1 * SecurityDomainAuthorityName ::= CHOICE { * domainAuthorityName [1] IMPLICIT DistinguishedName, * alternativeAuthorityName [2] IMPLICIT Proxy * } * ``` */ export type SecurityDomainAuthorityName = { domainAuthorityName: DistinguishedName; } | { alternativeAuthorityName: Proxy; }; /** * @summary Decodes an ASN.1 element into a(n) SecurityDomainAuthorityName * @function * @param {_Element} el The element being decoded. * @returns {SecurityDomainAuthorityName} The decoded data structure. */ export declare function _decode_SecurityDomainAuthorityName(el: _Element): SecurityDomainAuthorityName; /** * @summary Encodes a(n) SecurityDomainAuthorityName 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 SecurityDomainAuthorityName, encoded as an ASN.1 Element. */ export declare function _encode_SecurityDomainAuthorityName(value: SecurityDomainAuthorityName, elGetter: $.ASN1Encoder): _Element; //# sourceMappingURL=SecurityDomainAuthorityName.ta.d.mts.map