mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2024-11-24 00:55:00 +03:00
23 lines
976 B
TypeScript
23 lines
976 B
TypeScript
import { TagTranslation } from '../../helpers/_parseCertInfo';
|
|
import { ExtendedKeysTranslations } from './getDecodedExtendedKeyUsage';
|
|
export declare type CadesCertificate = any;
|
|
export declare class Certificate {
|
|
_cadesCertificate: CadesCertificate;
|
|
name: string;
|
|
issuerName: string;
|
|
subjectName: string;
|
|
thumbprint: string;
|
|
validFrom: string;
|
|
validTo: string;
|
|
constructor(_cadesCertificate: CadesCertificate, name: string, issuerName: string, subjectName: string, thumbprint: string, validFrom: string, validTo: string);
|
|
getOwnerInfo(): Promise<TagTranslation[]>;
|
|
getIssuerInfo(): Promise<TagTranslation[]>;
|
|
getExtendedKeyUsage(): Promise<string[]>;
|
|
getDecodedExtendedKeyUsage(): Promise<ExtendedKeysTranslations>;
|
|
getAlgorithm(): Promise<string>;
|
|
getCadesProp(propName: any): Promise<any>;
|
|
isValid(): Promise<boolean>;
|
|
exportBase64(): Promise<string>;
|
|
hasExtendedKeyUsage(oids: any): Promise<boolean>;
|
|
}
|