@peculiar/asn1-rsa
Version:
ASN.1 schema of `RSA Cryptography Specifications Version 2.2` (RFC8017)
25 lines (24 loc) • 615 B
TypeScript
import { AsnArray } from "@peculiar/asn1-schema";
/**
* ```asn1
* OtherPrimeInfo ::= SEQUENCE {
* prime INTEGER, -- ri
* exponent INTEGER, -- di
* coefficient INTEGER -- ti
* }
* ```
*/
export declare class OtherPrimeInfo {
prime: ArrayBuffer;
exponent: ArrayBuffer;
coefficient: ArrayBuffer;
constructor(params?: Partial<OtherPrimeInfo>);
}
/**
* ```asn1
* OtherPrimeInfos ::= SEQUENCE SIZE(1..MAX) OF OtherPrimeInfo
* ```
*/
export declare class OtherPrimeInfos extends AsnArray<OtherPrimeInfo> {
constructor(items?: OtherPrimeInfo[]);
}