UNPKG

pkcs-ts

Version:

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

44 lines 2.02 kB
import { ASN1Element as _Element } from "asn1-ts"; import * as $ from "asn1-ts/dist/node/functional"; import { GenericSecretKeyAttributes } from "../PKCS-15/GenericSecretKeyAttributes.ta"; import { OtherKey } from "../PKCS-15/OtherKey.ta"; import { SecretKeyObject } from "../PKCS-15/SecretKeyObject.ta"; export { GenericSecretKeyAttributes, _decode_GenericSecretKeyAttributes, _encode_GenericSecretKeyAttributes, } from "../PKCS-15/GenericSecretKeyAttributes.ta"; export { OtherKey, _decode_OtherKey, _encode_OtherKey, } from "../PKCS-15/OtherKey.ta"; export { SecretKeyObject, _get_decoder_for_SecretKeyObject, _get_encoder_for_SecretKeyObject, } from "../PKCS-15/SecretKeyObject.ta"; export declare type SecretKeyType = { genericSecretKey: SecretKeyObject<GenericSecretKeyAttributes>; } | { rc2key: SecretKeyObject<GenericSecretKeyAttributes>; } | { rc4key: SecretKeyObject<GenericSecretKeyAttributes>; } | { desKey: SecretKeyObject<GenericSecretKeyAttributes>; } | { des2Key: SecretKeyObject<GenericSecretKeyAttributes>; } | { des3Key: SecretKeyObject<GenericSecretKeyAttributes>; } | { castKey: SecretKeyObject<GenericSecretKeyAttributes>; } | { cast3Key: SecretKeyObject<GenericSecretKeyAttributes>; } | { cast128Key: SecretKeyObject<GenericSecretKeyAttributes>; } | { rc5Key: SecretKeyObject<GenericSecretKeyAttributes>; } | { ideaKey: SecretKeyObject<GenericSecretKeyAttributes>; } | { skipjackKey: SecretKeyObject<GenericSecretKeyAttributes>; } | { batonKey: SecretKeyObject<GenericSecretKeyAttributes>; } | { juniperKey: SecretKeyObject<GenericSecretKeyAttributes>; } | { rc6Key: SecretKeyObject<GenericSecretKeyAttributes>; } | { otherKey: OtherKey; } | _Element; export declare function _decode_SecretKeyType(el: _Element): SecretKeyType; export declare function _encode_SecretKeyType(value: SecretKeyType, elGetter: $.ASN1Encoder<SecretKeyType>): _Element; //# sourceMappingURL=SecretKeyType.ta.d.ts.map