UNPKG

@apeleghq/cms-classes

Version:

A collection of utility classes to encode ASN.1 data following DER rules

17 lines 1.06 kB
import { Asn1Sequence } from '@apeleghq/asn1-der'; import type CMSVersion from './CMSVersion.js'; import type DigestAlgorithmIdentifier from './DigestAlgorithmIdentifier.js'; import type SignatureAlgorithmIdentifier from './SignatureAlgorithmIdentifier.js'; import type SignatureValue from './SignatureValue.js'; import type SignedAttributes from './SignedAttributes.js'; import type SignerIdentifier from './SignerIdentifier.js'; import type UnsignedAttributes from './UnsignedAttributes.js'; declare class SignerInfo extends Asn1Sequence { digestAlgorithmId_: DigestAlgorithmIdentifier; version_: CMSVersion; constructor(sid: SignerIdentifier, digestAlgorithmId: DigestAlgorithmIdentifier, signatureAlgorithmId: SignatureAlgorithmIdentifier, signatureValue: SignatureValue, signedAttributesSet?: SignedAttributes, unsignedAttributesSet?: UnsignedAttributes); get digestAlgorithm(): Readonly<typeof this.digestAlgorithmId_>; get version(): Readonly<typeof this.version_>; } export default SignerInfo; //# sourceMappingURL=SignerInfo.d.ts.map