UNPKG

@apeleghq/cms-classes

Version:

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

17 lines 1.07 kB
import { Asn1Sequence } from '@apeleghq/asn1-der'; import type CMSVersion from './CMSVersion.cjs'; import type DigestAlgorithmIdentifier from './DigestAlgorithmIdentifier.cjs'; import type SignatureAlgorithmIdentifier from './SignatureAlgorithmIdentifier.cjs'; import type SignatureValue from './SignatureValue.cjs'; import type SignedAttributes from './SignedAttributes.cjs'; import type SignerIdentifier from './SignerIdentifier.cjs'; import type UnsignedAttributes from './UnsignedAttributes.cjs'; 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