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