UNPKG

pkcs-ts

Version:

PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More

12 lines 1.47 kB
import { ASN1Element as _Element } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { CommonKeyAttributes } from "../PKCS-15/CommonKeyAttributes.ta"; import { CommonSecretKeyAttributes } from "../PKCS-15/CommonSecretKeyAttributes.ta"; import { PKCS15Object } from "../PKCS-15/PKCS15Object.ta"; export { CommonKeyAttributes, _decode_CommonKeyAttributes, _encode_CommonKeyAttributes, } from "../PKCS-15/CommonKeyAttributes.ta"; export { CommonSecretKeyAttributes, _decode_CommonSecretKeyAttributes, _encode_CommonSecretKeyAttributes, } from "../PKCS-15/CommonSecretKeyAttributes.ta"; export { PKCS15Object, _get_decoder_for_PKCS15Object, _get_encoder_for_PKCS15Object, } from "../PKCS-15/PKCS15Object.ta"; export declare type SecretKeyObject<KeyAttributes> = PKCS15Object<CommonKeyAttributes, CommonSecretKeyAttributes, KeyAttributes>; export declare function _get_decoder_for_SecretKeyObject<KeyAttributes>(_decode_KeyAttributes: $.ASN1Decoder<KeyAttributes>): (el: _Element) => PKCS15Object<CommonKeyAttributes, CommonSecretKeyAttributes, KeyAttributes>; export declare function _get_encoder_for_SecretKeyObject<KeyAttributes>(_encode_KeyAttributes: $.ASN1Encoder<KeyAttributes>): (value: PKCS15Object<CommonKeyAttributes, CommonSecretKeyAttributes, KeyAttributes>, elGetter: $.ASN1Encoder<PKCS15Object<CommonKeyAttributes, CommonSecretKeyAttributes, KeyAttributes>>) => _Element; //# sourceMappingURL=SecretKeyObject.ta.d.ts.map