UNPKG

js-crypto-key-utils

Version:

Universal Module for Cryptographic Key Utilities in JavaScript, including PEM-JWK converters

47 lines (46 loc) 1.62 kB
/** * asn1def.js */ /** * This is either one of subjectPublicKeyInfo, oneAsymmetricKey or encryptedPrivateKeyInfo in ASN.1 format. * @type {AsnObject} */ export declare const KeyStructure: any; /** * SubjectPublicKeyInfo specified in RFC 5280 {@link https://tools.ietf.org/html/rfc5280}. * @type {AsnObject} */ export declare const SubjectPublicKeyInfo: any; /** * OneAsymmetricKey specified in RFC5958 {@link https://tools.ietf.org/html/rfc5958}. * (old version PrivateKeyInfo {@link https://tools.ietf.org/html/rfc5208}.) * @type {AsnObject} */ export declare const OneAsymmetricKey: any; /** * EncryptedPrivateKeyInfo specified in RFC5958 {@link https://tools.ietf.org/html/rfc5958}. * @type {AsnObject} */ export declare const EncryptedPrivateKeyInfo: any; /** * PBEParameter, parameter for password-based encryption, specified in RFC 8018 {@link https://tools.ietf.org/html/rfc8018}. * @type {AsnObject} */ export declare const PBEParameter: any; /** * PBES2Params, parameter for password-based encryption scheme 2, specified in RFC 8018 {@link https://tools.ietf.org/html/rfc8018}. * @type {AsnObject} */ export declare const PBES2Params: any; /** * PBKDF2Params, parameter for PBKDF2, specified in RFC 8018 {@link https://tools.ietf.org/html/rfc8018}. * @type {AsnObject} */ export declare const PBKDF2Params: any; /** * PBES2ESParams specified in RFC 8018 {@link https://tools.ietf.org/html/rfc8018}. * @type {{'aes192-cbc': AsnObject, 'aes128-cbc': AsnObject, 'des-ede3-cbc': Object, 'aes256-cbc': AsnObject}} */ export declare const PBES2ESParams: { [index: string]: any; };