Existing methods on the SubtleCrypto interface Proposed Overload Proposed Stream Equivalents
CryptoOperation encrypt(
AlgorithmIdentifier algorithm,
Key key,
optional ArrayBufferView? buffer = null);
CryptoOperation encrypt(
AlgorithmIdentifier algorithm,
Key key,
optional ArrayBuffer? buffer = null);
CryptoOperation encryptStream(
AlgorithmIdentifier algorithm,
Key key,
optional Stream? streamBuffer = null,
optional unsigned long long maxSize
);
CryptoOperation decrypt(
AlgorithmIdentifier algorithm,
Key key,
optional ArrayBufferView? buffer = null);
CryptoOperation decrypt(
AlgorithmIdentifier algorithm,
Key key,
optional ArrayBuffer? buffer = null);
CryptoOperation decryptStream(
AlgorithmIdentifier algorithm,
Key key,
optional Stream? streamBuffer = null,
optional unsigned long long maxSize
);
CryptoOperation sign(
AlgorithmIdentifier algorithm,
Key key,
optional ArrayBufferView? buffer = null);
CryptoOperation sign(
AlgorithmIdentifier algorithm,
Key key,
optional ArrayBuffer? buffer = null);
CryptoOperation signStream(
AlgorithmIdentifier algorithm,
Key key,
optional Stream? streamBuffer = null,
optional unsigned long long maxSize
);
CryptoOperation verify(
AlgorithmIdentifier algorithm,
Key key,
ArrayBufferView signature,
optional ArrayBufferView? buffer = null);
CryptoOperation verify(
AlgorithmIdentifier algorithm,
Key key,
ArrayBuffer signature,
optional ArrayBuffer? buffer = null);
CryptoOperation verifyStream(
AlgorithmIdentifier algorithm,
Key key,
ArrayBuffer signature,
optional Stream? streamBuffer = null,
optional unsigned long long maxSize
);
CryptoOperation digest(
AlgorithmIdentifier algorithm,
optional ArrayBufferView? buffer = null);
CryptoOperation digest(
AlgorithmIdentifier algorithm,
optional ArrayBuffer? buffer = null);
CryptoOperation digestStream(
AlgorithmIdentifier algorithm,
optional Stream? streamBuffer = null,
optional unsigned long long maxSize
);
Existing methods on the CryptoOperation interface
void process(
ArrayBufferView buffer);
void process(
ArrayBuffer buffer);
void processStream(
Stream streamBuffer,
optional unsigned long long maxSize
);