CipherSuite

data class CipherSuite(val code: Short, val name: String, val openSSLName: String, val exchangeType: SecretExchangeType, val jdkCipherName: String, val keyStrength: Int, val fixedIvLength: Int, val ivLength: Int, val cipherTagSizeInBytes: Int, val macName: String, val macStrength: Int, val hash: HashAlgorithm, val signatureAlgorithm: SignatureAlgorithm, val cipherType: CipherType = CipherType.GCM)

Represents a TLS cipher suite

Constructors

Link copied to clipboard
fun CipherSuite(code: Short, name: String, openSSLName: String, exchangeType: SecretExchangeType, jdkCipherName: String, keyStrength: Int, fixedIvLength: Int, ivLength: Int, cipherTagSizeInBytes: Int, macName: String, macStrength: Int, hash: HashAlgorithm, signatureAlgorithm: SignatureAlgorithm, cipherType: CipherType = CipherType.GCM)

Properties

Link copied to clipboard

tag size in bytes

Link copied to clipboard

type of cipher to use

Link copied to clipboard
val code: Short

numeric cipher suite code

Link copied to clipboard

secret exchange type (ECDHE or RSA)

Link copied to clipboard

fixed input vector length in bytes

Link copied to clipboard

algorithm

Link copied to clipboard

input vector length in bytes

Link copied to clipboard

for this suite that is used in JDK

Link copied to clipboard

in bits

Link copied to clipboard

key strength in bytes ( = [keyStrength] / 8)

Link copied to clipboard

message authentication algorithm name

Link copied to clipboard

message authentication algorithm strength in bits

Link copied to clipboard

message authentication algorithm strength in bytes ( = [macStrength] / 8)

Link copied to clipboard

cipher suite name

Link copied to clipboard

for this suite that is used in openssl

Link copied to clipboard