@wildboar/pkcs
Version:
Public Key Cryptography Standard PDUs in TypeScript
40 lines • 835 B
text/typescript
import { INTEGER } from "@wildboar/asn1";
import * as $ from "@wildboar/asn1/functional";
/**
* @summary Version
* @description
*
* ### ASN.1 Definition:
*
* ```asn1
* Version ::= INTEGER { v1(0), v2(1) } (v1, ..., v2)
* ```
*/
export type Version = INTEGER;
/**
* @summary Version_v1
* @constant
* @type {number}
*/
export declare const Version_v1: Version;
/**
* @summary Version_v1
* @constant
* @type {number}
*/
export declare const v1: Version;
/**
* @summary Version_v2
* @constant
* @type {number}
*/
export declare const Version_v2: Version;
/**
* @summary Version_v2
* @constant
* @type {number}
*/
export declare const v2: Version;
export declare const _decode_Version: $.ASN1Decoder<INTEGER>;
export declare const _encode_Version: $.ASN1Encoder<INTEGER>;
//# sourceMappingURL=Version.ta.d.mts.map