@peculiar/asn1-x509
Version:
ASN.1 schema for X.509 certificates, certificate revocation lists, and related profile structures defined in RFC 5280.
18 lines (17 loc) • 642 B
TypeScript
export type ParametersType = ArrayBuffer | null;
/**
* ```asn1
* AlgorithmIdentifier ::= SEQUENCE {
* algorithm OBJECT IDENTIFIER,
* parameters ANY DEFINED BY algorithm OPTIONAL }
* -- contains a value of the type
* -- registered for use with the
* -- algorithm object identifier value
* ```
*/
export declare class AlgorithmIdentifier {
algorithm: string;
parameters?: ParametersType;
constructor(params?: Partial<Omit<AlgorithmIdentifier, "isEqual">>);
isEqual(data: unknown): data is this;
}