Class RsaCryptographyProvider
Implements
CryptographyProvider
CryptographyProvider
Methods
isSupported
isSupported( algorithm: string , operation: CryptographyProviderOperation ) : boolean
Parameters
algorithm: string
operation: CryptographyProviderOperation
Returns boolean
sign
Parameters
_algorithm: SignatureAlgorithm
_digest: Uint8Array
signData
Parameters
_algorithm: SignatureAlgorithm
_data: Uint8Array
unwrapKey
Parameters
_encryptedKey: Uint8Array
verify
verify( _algorithm: SignatureAlgorithm , _digest: Uint8Array , _signature: Uint8Array , _options?: VerifyOptions ) : Promise < VerifyResult >
Parameters
_algorithm: SignatureAlgorithm
_digest: Uint8Array
_signature: Uint8Array
verifyData
verifyData( algorithm: SignatureAlgorithm , data: Uint8Array , signature: Uint8Array , _options?: VerifyOptions ) : Promise < VerifyResult >
Parameters
algorithm: SignatureAlgorithm
data: Uint8Array
signature: Uint8Array
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Type alias with type parameter
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
An RSA cryptography provider supporting RSA algorithms. The browser replacement of the RsaCryptographyProvider. Since we do not support local cryptography in the browser this replacement always returns false for
supportsAlgorithm
andsupportsOperation
so that these methods should never be called.