Uses of Enum Class
io.github.mahmoudimus.quic.CipherSuite
Packages that use CipherSuite
Package
Description
A dependency-free QUIC transport (RFC 9000, 9001, 9002, 9221, 9369).
QUIC packet protection (RFC 9001 section 5): AEAD payload keys, header protection keys, Initial
keys per version, key updates and the Retry integrity tag.
A TLS 1.3 handshake (RFC 8446) for QUIC (RFC 9001), client and server, ported from rustls with
quinn's session interface.
-
Uses of CipherSuite in io.github.mahmoudimus.quic
Methods in io.github.mahmoudimus.quic that return CipherSuiteModifier and TypeMethodDescriptionQuicConnection.cipherSuite()The negotiated cipher suite.static CipherSuiteCipherSuite.forCode(int code) The suite with a TLS code point.Secrets.suite()Returns the value of thesuiterecord component.static CipherSuiteReturns the enum constant of this class with the specified name.static CipherSuite[]CipherSuite.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in io.github.mahmoudimus.quic with parameters of type CipherSuiteModifierConstructorDescriptionSecrets(EncryptionLevel level, CipherSuite suite, byte[] client, byte[] server) Creates an instance of aSecretsrecord class. -
Uses of CipherSuite in io.github.mahmoudimus.quic.crypto
Methods in io.github.mahmoudimus.quic.crypto that return CipherSuiteModifier and TypeMethodDescriptionHeaderKey.suite()The cipher suite.PacketKey.suite()The cipher suite.Methods in io.github.mahmoudimus.quic.crypto with parameters of type CipherSuiteModifier and TypeMethodDescriptionstatic DirectionalKeysDirectionalKeys.fromSecret(CipherSuite suite, byte[] secret, QuicVersion version) Derives both keys from one traffic secret (RFC 9001 section 5.1).static HeaderKeyHeaderKey.fromSecret(CipherSuite suite, byte[] secret, QuicVersion version) Derives a key from a traffic secret with the version's"quic hp"label.static PacketKeyPacketKey.fromSecret(CipherSuite suite, byte[] secret, QuicVersion version) Derives a key from a traffic secret with the version's"quic key"and"quic iv"labels (RFC 9001 section 5.1).static byte[]Keys.nextSecret(CipherSuite suite, byte[] secret, QuicVersion version) The next secret of one direction after a key update.static HeaderKeyHeaderKey.of(CipherSuite suite, byte[] key) A key from its raw bytes.static PacketKeyPacketKey.of(CipherSuite suite, byte[] key, byte[] iv) A key from its raw parts. -
Uses of CipherSuite in io.github.mahmoudimus.quic.tls
Methods in io.github.mahmoudimus.quic.tls that return CipherSuiteModifier and TypeMethodDescriptionSessionTicket.cipherSuite()The cipher suite of the session; a resumption must use one with the same hash, and 0-RTT this very suite.TlsSession.cipherSuite()The negotiated cipher suite.Methods in io.github.mahmoudimus.quic.tls that return types with arguments of type CipherSuiteModifier and TypeMethodDescriptionClientHelloInfo.cipherSuites()Returns the value of thecipherSuitesrecord component.Methods in io.github.mahmoudimus.quic.tls with parameters of type CipherSuiteModifier and TypeMethodDescriptionTlsConfig.Builder.cipherSuites(CipherSuite... suites) The cipher suites to offer (client) or accept (server), most preferred first.