@wildboar/pki-stub
Version:
X.510 PKI-Stub ASN.1 data structures in TypeScript
29 lines • 1.15 kB
text/typescript
import * as $ from "@wildboar/asn1/functional";
import { AttributeTypeAndValue } from "../PKI-Stub/AttributeTypeAndValue.ta.mjs";
/**
* @summary RelativeDistinguishedName
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* RelativeDistinguishedName ::= SET SIZE (1..MAX) OF AttributeTypeAndValue
* ```
*/
export type RelativeDistinguishedName = AttributeTypeAndValue[];
/**
* @summary Decodes an ASN.1 element into a(n) RelativeDistinguishedName
* @function
* @param {_Element} el The element being decoded.
* @returns {RelativeDistinguishedName} The decoded data structure.
*/
export declare const _decode_RelativeDistinguishedName: $.ASN1Decoder<RelativeDistinguishedName>;
/**
* @summary Encodes a(n) RelativeDistinguishedName 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 RelativeDistinguishedName, encoded as an ASN.1 Element.
*/
export declare const _encode_RelativeDistinguishedName: $.ASN1Encoder<RelativeDistinguishedName>;
//# sourceMappingURL=RelativeDistinguishedName.ta.d.mts.map