pkcs-ts
Version:
PKCS #1 through #15 (Except #11) - Private and Public Keys, Certificates, and More
24 lines • 1.76 kB
TypeScript
import { ASN1Element as _Element } from "asn1-ts";
import * as $ from "asn1-ts/dist/node/functional";
import { AuthenticationObject } from "../PKCS-15/AuthenticationObject.ta";
import { AuthKeyAttributes } from "../PKCS-15/AuthKeyAttributes.ta";
import { BiometricAttributes } from "../PKCS-15/BiometricAttributes.ta";
import { ExternalAuthObjectAttributes } from "../PKCS-15/ExternalAuthObjectAttributes.ta";
import { PinAttributes } from "../PKCS-15/PinAttributes.ta";
export { AuthenticationObject, _get_decoder_for_AuthenticationObject, _get_encoder_for_AuthenticationObject, } from "../PKCS-15/AuthenticationObject.ta";
export { AuthKeyAttributes, _decode_AuthKeyAttributes, _encode_AuthKeyAttributes, } from "../PKCS-15/AuthKeyAttributes.ta";
export { BiometricAttributes, _decode_BiometricAttributes, _encode_BiometricAttributes, } from "../PKCS-15/BiometricAttributes.ta";
export { ExternalAuthObjectAttributes, _decode_ExternalAuthObjectAttributes, _encode_ExternalAuthObjectAttributes, } from "../PKCS-15/ExternalAuthObjectAttributes.ta";
export { PinAttributes, _decode_PinAttributes, _encode_PinAttributes, } from "../PKCS-15/PinAttributes.ta";
export declare type AuthenticationType = {
pin: AuthenticationObject<PinAttributes>;
} | {
biometricTemplate: AuthenticationObject<BiometricAttributes>;
} | {
authKey: AuthenticationObject<AuthKeyAttributes>;
} | {
external: AuthenticationObject<ExternalAuthObjectAttributes>;
} | _Element;
export declare function _decode_AuthenticationType(el: _Element): AuthenticationType;
export declare function _encode_AuthenticationType(value: AuthenticationType, elGetter: $.ASN1Encoder<AuthenticationType>): _Element;
//# sourceMappingURL=AuthenticationType.ta.d.ts.map