Functions
CalculateMaxSaltLength
CalculateMaxSaltLength( keySizeInBits: number , digestSizeInBytes: number ) : number
Defined in libs/browser/KavenBrowserCrypto.ts:42
Parameters
keySizeInBits: number
digestSizeInBytes: number
Returns number
ExportCryptoPrivateKey
ExportCryptoPrivateKey( key: CryptoKey , header?: string , footer?: string ) : Promise < string >
Defined in libs/browser/KavenBrowserCrypto.ts:62
Parameters
key: CryptoKey
header: string = ...
footer: string = ...
Returns Promise < string >
ExportCryptoPublicKey
ExportCryptoPublicKey( key: CryptoKey , header?: string , footer?: string ) : Promise < string >
Defined in libs/browser/KavenBrowserCrypto.ts:46
Parameters
key: CryptoKey
header: string = ...
footer: string = ...
Returns Promise < string >
ImportCryptoPrivateKey
ImportCryptoPrivateKey( pem: string , isForSign?: boolean ) : Promise < CryptoKey >
Defined in libs/browser/KavenBrowserCrypto.ts:102
Parameters
pem: string
isForSign: boolean = true
Returns Promise < CryptoKey >
ImportCryptoPublicKey
ImportCryptoPublicKey( pem: string , isForEncrypt?: boolean ) : Promise < CryptoKey >
Defined in libs/browser/KavenBrowserCrypto.ts:78
Parameters
pem: string
isForEncrypt: boolean = true
Returns Promise < CryptoKey >
Legend
Variable
Function
Function with type parameter
Type alias
Type alias with type parameter
Interface
Interface with type parameter
Class
Class with type parameter
RFC 3447 says that "Typical salt lengths" are either 0 or the length of the output of the digest algorithm that was selected when this key was generated. For example, if you use SHA-256 as the digest algorithm, this could be 32.
https://developer.mozilla.org/en-US/docs/Web/API/RsaPssParams