securityos/node_modules/resedit/dist/sign/data/SignerInfo.d.ts

16 lines
928 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import type DERObject from './DERObject.js';
import type IssuerAndSerialNumber from './IssuerAndSerialNumber.js';
import type AlgorithmIdentifier from './AlgorithmIdentifier.js';
import type Attribute from './Attribute.js';
export default class SignerInfo implements DERObject {
version: number;
issuerAndSerialNumber: IssuerAndSerialNumber;
digestAlgorithm: AlgorithmIdentifier;
digestEncryptionAlgorithm: AlgorithmIdentifier;
encryptedDigest: Uint8Array;
authenticatedAttributes?: Attribute[] | undefined;
unauthenticatedAttributes?: Attribute[] | undefined;
constructor(version: number, issuerAndSerialNumber: IssuerAndSerialNumber, digestAlgorithm: AlgorithmIdentifier, digestEncryptionAlgorithm: AlgorithmIdentifier, encryptedDigest: Uint8Array, authenticatedAttributes?: Attribute[] | undefined, unauthenticatedAttributes?: Attribute[] | undefined);
toDER(): number[];
}