pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
15 lines • 867 B
TypeScript
import { ASN1Element as _Element } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { AttributeCertificate } from "x500-ts/dist/node/modules/AttributeCertificateDefinitions/AttributeCertificate.ta";
import { Certificate } from "x500-ts/dist/node/modules/AuthenticationFramework/Certificate.ta";
import { ExtendedCertificate } from "../CryptographicMessageSyntax/ExtendedCertificate.ta";
export declare type CertificateChoices = {
certificate: Certificate;
} | {
extendedCertificate: ExtendedCertificate;
} | {
attrCert: AttributeCertificate;
};
export declare function _decode_CertificateChoices(el: _Element): CertificateChoices;
export declare function _encode_CertificateChoices(value: CertificateChoices, elGetter: $.ASN1Encoder<CertificateChoices>): _Element;
//# sourceMappingURL=CertificateChoices.ta.d.ts.map