Interface ICryptographicEngineStatics

Index

Methods

Methods

public decrypt(key: CryptographicKey, data: IBuffer, iv: IBuffer): IBuffer

Parameters

Returns

IBuffer

public decryptAndAuthenticate(key: CryptographicKey, data: IBuffer, nonce: IBuffer, authenticationTag: IBuffer, authenticatedData: IBuffer): IBuffer

Parameters

Returns

IBuffer

public deriveKeyMaterial(key: CryptographicKey, parameters: KeyDerivationParameters, desiredKeySize: number): IBuffer

Parameters

Returns

IBuffer

public encrypt(key: CryptographicKey, data: IBuffer, iv: IBuffer): IBuffer

Parameters

Returns

IBuffer

public encryptAndAuthenticate(key: CryptographicKey, data: IBuffer, nonce: IBuffer, authenticatedData: IBuffer): EncryptedAndAuthenticatedData

Parameters

Returns

EncryptedAndAuthenticatedData

public sign(key: CryptographicKey, data: IBuffer): IBuffer

Parameters

Returns

IBuffer

public verifySignature(key: CryptographicKey, data: IBuffer, signature: IBuffer): boolean

Parameters

Returns

boolean