GcmPacketWriter.this
this
(const(ubyte)[] key, in ubyte[12] iv, CryptoRandom rng)Constructs a writer from derived key material.
Parameters
key | Encryption key (16 bytes for aes128-gcm, 32 for aes256-gcm). |
iv | 12-byte initial IV: 4 fixed bytes plus the initial invocation counter. |
rng | Random source for padding bytes. |
Throws
SshGcmException on unsupported key sizes.