KnownCipher
Specifies known ciphers to this version of the protocol.
Content copied to clipboard
elide.crypto.KnownCipher
Entries
Properties
Link copied to clipboard
Specifies the AES-128 cipher, operating in CBC mode.
Content copied to clipboard
AES_128_CBC = 1;
Link copied to clipboard
Specifies the AES-128 cipher, operating in GCM mode.
Content copied to clipboard
AES_128_GCM = 3;
Link copied to clipboard
Specifies the AES-256 cipher, operating in CBC mode.
Content copied to clipboard
AES_256_CBC = 2;
Link copied to clipboard
Specifies the AES-256 cipher, operating in GCM mode.
Content copied to clipboard
AES_256_GCM = 4;
Link copied to clipboard
Specifies the ChaCha20 cipher, operating in Poly1305 mode.
Content copied to clipboard
CHACHA20_POLY1305 = 5;
Link copied to clipboard
Specifies an unrecognized cipher for this version of the protocol; should not be used by regular code.
Content copied to clipboard
CIPHER_UNRECOGNIZED = 0;
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.