This repository has been archived on 2023-04-04. You can view files and clone it, but cannot push or open issues or pull requests.
2021-10-26 09:43:00 +00:00
|
|
|
export declare class Crypto implements globalThis.Crypto {
|
2019-02-14 10:58:38 +00:00
|
|
|
public subtle: SubtleCrypto;
|
2021-10-26 09:43:00 +00:00
|
|
|
public getRandomValues<T extends ArrayBufferView | null>(array: T): T;
|
2019-01-25 12:49:00 +00:00
|
|
|
}
|
|
|
|
|
2021-10-26 09:43:00 +00:00
|
|
|
export declare class CryptoKey implements globalThis.CryptoKey {
|
2019-02-14 10:58:38 +00:00
|
|
|
public algorithm: KeyAlgorithm;
|
|
|
|
public extractable: boolean;
|
|
|
|
public type: KeyType;
|
|
|
|
public usages: KeyUsage[];
|
|
|
|
}
|