pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
12 lines • 674 B
TypeScript
import { ASN1Element as _Element } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { SubjectPublicKeyInfo } from "x500-ts/dist/node/modules/AuthenticationFramework/SubjectPublicKeyInfo.ta";
import { RSAPublicKey } from "../PKCS-1/RSAPublicKey.ta";
export declare type RSAPublicKeyChoice = {
raw: RSAPublicKey;
} | {
spki: SubjectPublicKeyInfo;
} | _Element;
export declare function _decode_RSAPublicKeyChoice(el: _Element): RSAPublicKeyChoice;
export declare function _encode_RSAPublicKeyChoice(value: RSAPublicKeyChoice, elGetter: $.ASN1Encoder<RSAPublicKeyChoice>): _Element;
//# sourceMappingURL=RSAPublicKeyChoice.ta.d.ts.map