| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract static class | |
| pack-priv abstract static class | |
| pack-priv abstract static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final SecretKey | |
| private final CipherSuite | |
| private final QuicCipher. | |
| private static final Map | |
| private final int | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| protected | QuicCipher(final CipherSuite cipherSuite, final SecretKey baseSecret, final QuicCipher.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final ByteBuffer | |
| pack-priv static QuicCipher. | createReadCipher(final CipherSuite cipherSuite, final SecretKey baseSecret, final SecretKey key, final byte[] iv, final SecretKey hp, final int keyPhase)
|
| pack-priv static QuicCipher. | createWriteCipher(final CipherSuite cipherSuite, final SecretKey baseSecret, final SecretKey key, final byte[] iv, final SecretKey hp, final int keyPhase)
|
| pack-priv final void | |
| protected abstract void | |
| pack-priv final SecretKey | |
| pack-priv final CipherSuite | |
| pack-priv final SecretKey | |
| pack-priv final int | |
| pack-priv static void |
| baseSecret | back to summary |
|---|---|
| private final SecretKey baseSecret | |
| cipherSuite | back to summary |
|---|---|
| private final CipherSuite cipherSuite | |
| hpCipher | back to summary |
|---|---|
| private final QuicCipher. | |
| KEY_LIMITS | back to summary |
|---|---|
| private static final Map<String, Long> KEY_LIMITS | |
| keyPhase | back to summary |
|---|---|
| private final int keyPhase | |
| SEC_PROP_QUIC_TLS_KEY_LIMITS | back to summary |
|---|---|
| private static final String SEC_PROP_QUIC_TLS_KEY_LIMITS | |
| QuicCipher | back to summary |
|---|---|
| protected QuicCipher(final CipherSuite cipherSuite, final SecretKey baseSecret, final QuicCipher. | |
| computeHeaderProtectionMask | back to summary |
|---|---|
| pack-priv final ByteBuffer computeHeaderProtectionMask(ByteBuffer sample) throws QuicTransportException | |
| createReadCipher | back to summary |
|---|---|
| pack-priv static QuicCipher. | |
| createWriteCipher | back to summary |
|---|---|
| pack-priv static QuicCipher. | |
| discard | back to summary |
|---|---|
| pack-priv final void discard(boolean destroyHP) | |
| doDiscard | back to summary |
|---|---|
| protected abstract void doDiscard() | |
| getBaseSecret | back to summary |
|---|---|
| pack-priv final SecretKey getBaseSecret() | |
| getCipherSuite | back to summary |
|---|---|
| pack-priv final CipherSuite getCipherSuite() | |
| getHeaderProtectionKey | back to summary |
|---|---|
| pack-priv final SecretKey getHeaderProtectionKey() | |
| getKeyPhase | back to summary |
|---|---|
| pack-priv final int getKeyPhase() | |
| safeDiscard | back to summary |
|---|---|
| pack-priv static void safeDiscard(final SecretKey secretKey) | |
| Modifier and Type | Field and Description |
|---|---|
| protected final SecretKey |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract ByteBuffer | |
| pack-priv final void | |
| pack-priv int |
| headerProtectionKey | back to summary |
|---|---|
| protected final SecretKey headerProtectionKey | |
| QuicHeaderProtectionCipher | back to summary |
|---|---|
| protected QuicHeaderProtectionCipher(final SecretKey headerProtectionKey) | |
| computeHeaderProtectionMask | back to summary |
|---|---|
| pack-priv abstract ByteBuffer computeHeaderProtectionMask(ByteBuffer sample) throws QuicTransportException | |
| discard | back to summary |
|---|---|
| pack-priv final void discard() | |
| getHeaderProtectionSampleSize | back to summary |
|---|---|
| pack-priv int getHeaderProtectionSampleSize() | |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicLong |
| Access | Constructor and Description |
|---|---|
| pack-priv | QuicReadCipher(CipherSuite cipherSuite, SecretKey baseSecret, QuicCipher.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv final void | |
| protected abstract void | |
| pack-priv final boolean | Returns: true if thisQuicReadCipher has successfully
decrypted any packet sent by the peer, else returns falseReturns true if this |
| pack-priv abstract long | Returns: the limitReturns the maximum limit on the number of packets that fail
decryption, across all key (updates), using this
|
| pack-priv final long | Returns: the lowest packet number that thisQuicReadCipher
has decrypted. If no packets have yet been decrypted by this
instance, then this method returns -1Returns the lowest packet number that this |
| lowestDecryptedPktNum | back to summary |
|---|---|
| private final AtomicLong lowestDecryptedPktNum | |
| QuicReadCipher | back to summary |
|---|---|
| pack-priv QuicReadCipher(CipherSuite cipherSuite, SecretKey baseSecret, QuicCipher. | |
| decryptPacket | back to summary |
|---|---|
| pack-priv final void decryptPacket(long packetNumber, ByteBuffer packet, int headerLength, ByteBuffer output) throws AEADBadTagException, ShortBufferException, QuicTransportException | |
| doDecrypt | back to summary |
|---|---|
| protected abstract void doDecrypt(long packetNumber, ByteBuffer packet, int headerLength, ByteBuffer output) throws AEADBadTagException, ShortBufferException, QuicTransportException | |
| hasDecryptedAny | back to summary |
|---|---|
| pack-priv final boolean hasDecryptedAny() Returns true if this
| |
| integrityLimit | back to summary |
|---|---|
| pack-priv abstract long integrityLimit() Returns the maximum limit on the number of packets that fail
decryption, across all key (updates), using this
| |
| lowestDecryptedPktNum | back to summary |
|---|---|
| pack-priv final long lowestDecryptedPktNum() Returns the lowest packet number that this
| |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicLong | |
| private final AtomicLong |
| Access | Constructor and Description |
|---|---|
| pack-priv | QuicWriteCipher(CipherSuite cipherSuite, SecretKey baseSecret, QuicCipher.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract long | Returns: the limit or -1Returns the maximum limit on the number of packets that are allowed
to be encrypted with this instance of |
| pack-priv abstract void | doEncryptPacket(long packetNumber, ByteBuffer packetHeader, ByteBuffer packetPayload, ByteBuffer output)
|
| pack-priv final void | encryptPacket(final long packetNumber, final ByteBuffer packetHeader, final ByteBuffer packetPayload, final ByteBuffer output)
|
| pack-priv final long | Returns: the number of packets encrypted by thisQuicWriteCipherReturns the number of packets encrypted by this |
| pack-priv final boolean | Returns: true if thisQuicWriteCipher has successfully
encrypted any packet to send to the peer, else returns falseReturns true if this |
| pack-priv final long | Returns: the lowest packet number that thisQuicWriteCipher
has encrypted. If no packets have yet been encrypted by this
instance, then this method returns -1Returns the lowest packet number that this |
| lowestEncryptedPktNum | back to summary |
|---|---|
| private final AtomicLong lowestEncryptedPktNum | |
| numPacketsEncrypted | back to summary |
|---|---|
| private final AtomicLong numPacketsEncrypted | |
| QuicWriteCipher | back to summary |
|---|---|
| pack-priv QuicWriteCipher(CipherSuite cipherSuite, SecretKey baseSecret, QuicCipher. | |
| confidentialityLimit | back to summary |
|---|---|
| pack-priv abstract long confidentialityLimit() Returns the maximum limit on the number of packets that are allowed
to be encrypted with this instance of
| |
| doEncryptPacket | back to summary |
|---|---|
| pack-priv abstract void doEncryptPacket(long packetNumber, ByteBuffer packetHeader, ByteBuffer packetPayload, ByteBuffer output) throws ShortBufferException, QuicTransportException | |
| encryptPacket | back to summary |
|---|---|
| pack-priv final void encryptPacket(final long packetNumber, final ByteBuffer packetHeader, final ByteBuffer packetPayload, final ByteBuffer output) throws QuicTransportException, ShortBufferException | |
| getNumEncrypted | back to summary |
|---|---|
| pack-priv final long getNumEncrypted() Returns the number of packets encrypted by this
| |
| hasEncryptedAny | back to summary |
|---|---|
| pack-priv final boolean hasEncryptedAny() Returns true if this
| |
| lowestEncryptedPktNum | back to summary |
|---|---|
| pack-priv final long lowestEncryptedPktNum() Returns the lowest packet number that this
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Cipher |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | computeHeaderProtectionMask(ByteBuffer sample)
Implements abstract sun.
|
| cipher | back to summary |
|---|---|
| private final Cipher cipher | |
| T13AESHPCipher | back to summary |
|---|---|
| pack-priv T13AESHPCipher(SecretKey hp) throws GeneralSecurityException | |
| computeHeaderProtectionMask | back to summary |
|---|---|
| public ByteBuffer computeHeaderProtectionMask(ByteBuffer sample) throws QuicTransportException Implements abstract sun.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Cipher |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | computeHeaderProtectionMask(ByteBuffer sample)
Implements abstract sun.
|
| cipher | back to summary |
|---|---|
| private final Cipher cipher | |
| T13CC20HPCipher | back to summary |
|---|---|
| pack-priv T13CC20HPCipher(final SecretKey hp) throws GeneralSecurityException | |
| computeHeaderProtectionMask | back to summary |
|---|---|
| public ByteBuffer computeHeaderProtectionMask(ByteBuffer sample) throws QuicTransportException Implements abstract sun.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Cipher | |
| private static final long | |
| private final byte[] | |
| private final SecretKey |
| Access | Constructor and Description |
|---|---|
| pack-priv | T13CC20P1305ReadCipher(final CipherSuite cipherSuite, final SecretKey baseSecret, final SecretKey key, final byte[] iv, final SecretKey hp, final int keyPhase)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | doDecrypt(long packetNumber, ByteBuffer packet, int headerLength, ByteBuffer output)
Implements abstract sun.
|
| protected final void | |
| pack-priv long | integrityLimit()
Implements abstract sun. Returns the maximum limit on the number of packets that fail
decryption, across all key (updates), using this
|
| cipher | back to summary |
|---|---|
| private final Cipher cipher | |
| INTEGRITY_LIMIT | back to summary |
|---|---|
| private static final long INTEGRITY_LIMIT | |
| iv | back to summary |
|---|---|
| private final byte[] iv | |
| key | back to summary |
|---|---|
| private final SecretKey key | |
| T13CC20P1305ReadCipher | back to summary |
|---|---|
| pack-priv T13CC20P1305ReadCipher(final CipherSuite cipherSuite, final SecretKey baseSecret, final SecretKey key, final byte[] iv, final SecretKey hp, final int keyPhase) throws GeneralSecurityException | |
| doDecrypt | back to summary |
|---|---|
| protected void doDecrypt(long packetNumber, ByteBuffer packet, int headerLength, ByteBuffer output) throws AEADBadTagException, ShortBufferException, QuicTransportException Implements abstract sun.
| |
| doDiscard | back to summary |
|---|---|
| protected final void doDiscard() Implements abstract sun.
| |
| integrityLimit | back to summary |
|---|---|
| pack-priv long integrityLimit() Implements abstract sun. Doc from sun. Returns the maximum limit on the number of packets that fail
decryption, across all key (updates), using this
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Cipher | |
| private static final String | |
| private static final long | |
| private final byte[] | |
| private final SecretKey |
| Access | Constructor and Description |
|---|---|
| pack-priv | T13CC20P1305WriteCipher(final CipherSuite cipherSuite, final SecretKey baseSecret, final SecretKey key, final byte[] iv, final SecretKey hp, final int keyPhase)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv long | confidentialityLimit()
Implements abstract sun. Returns the maximum limit on the number of packets that are allowed
to be encrypted with this instance of |
| protected final void | |
| pack-priv void | doEncryptPacket(final long packetNumber, final ByteBuffer packetHeader, final ByteBuffer packetPayload, final ByteBuffer output)
Implements abstract sun.
|
| cipher | back to summary |
|---|---|
| private final Cipher cipher | |
| CIPHER_ALGORITHM_NAME | back to summary |
|---|---|
| private static final String CIPHER_ALGORITHM_NAME | |
| CONFIDENTIALITY_LIMIT | back to summary |
|---|---|
| private static final long CONFIDENTIALITY_LIMIT | |
| iv | back to summary |
|---|---|
| private final byte[] iv | |
| key | back to summary |
|---|---|
| private final SecretKey key | |
| T13CC20P1305WriteCipher | back to summary |
|---|---|
| pack-priv T13CC20P1305WriteCipher(final CipherSuite cipherSuite, final SecretKey baseSecret, final SecretKey key, final byte[] iv, final SecretKey hp, final int keyPhase) throws GeneralSecurityException | |
| confidentialityLimit | back to summary |
|---|---|
| pack-priv long confidentialityLimit() Implements abstract sun. Doc from sun. Returns the maximum limit on the number of packets that are allowed
to be encrypted with this instance of
| |
| doDiscard | back to summary |
|---|---|
| protected final void doDiscard() Implements abstract sun.
| |
| doEncryptPacket | back to summary |
|---|---|
| pack-priv void doEncryptPacket(final long packetNumber, final ByteBuffer packetHeader, final ByteBuffer packetPayload, final ByteBuffer output) throws ShortBufferException, QuicTransportException Implements abstract sun.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Cipher | |
| private static final long | |
| private final byte[] | |
| private final SecretKey |
| Access | Constructor and Description |
|---|---|
| pack-priv | T13GCMReadCipher(final CipherSuite cipherSuite, final SecretKey baseSecret, final SecretKey key, final byte[] iv, final SecretKey hp, final int keyPhase)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | doDecrypt(long packetNumber, ByteBuffer packet, int headerLength, ByteBuffer output)
Implements abstract sun.
|
| protected final void | |
| pack-priv long | integrityLimit()
Implements abstract sun. Returns the maximum limit on the number of packets that fail
decryption, across all key (updates), using this
|
| cipher | back to summary |
|---|---|
| private final Cipher cipher | |
| INTEGRITY_LIMIT | back to summary |
|---|---|
| private static final long INTEGRITY_LIMIT | |
| iv | back to summary |
|---|---|
| private final byte[] iv | |
| key | back to summary |
|---|---|
| private final SecretKey key | |
| T13GCMReadCipher | back to summary |
|---|---|
| pack-priv T13GCMReadCipher(final CipherSuite cipherSuite, final SecretKey baseSecret, final SecretKey key, final byte[] iv, final SecretKey hp, final int keyPhase) throws GeneralSecurityException | |
| doDecrypt | back to summary |
|---|---|
| protected void doDecrypt(long packetNumber, ByteBuffer packet, int headerLength, ByteBuffer output) throws AEADBadTagException, ShortBufferException, QuicTransportException Implements abstract sun.
| |
| doDiscard | back to summary |
|---|---|
| protected final void doDiscard() Implements abstract sun.
| |
| integrityLimit | back to summary |
|---|---|
| pack-priv long integrityLimit() Implements abstract sun. Doc from sun. Returns the maximum limit on the number of packets that fail
decryption, across all key (updates), using this
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Cipher | |
| private static final String | |
| private static final long | |
| private final byte[] | |
| private final SecretKey |
| Access | Constructor and Description |
|---|---|
| pack-priv | T13GCMWriteCipher(final CipherSuite cipherSuite, final SecretKey baseSecret, final SecretKey key, final byte[] iv, final SecretKey hp, final int keyPhase)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv long | confidentialityLimit()
Implements abstract sun. Returns the maximum limit on the number of packets that are allowed
to be encrypted with this instance of |
| protected final void | |
| pack-priv void | doEncryptPacket(long packetNumber, ByteBuffer packetHeader, ByteBuffer packetPayload, ByteBuffer output)
Implements abstract sun.
|
| cipher | back to summary |
|---|---|
| private final Cipher cipher | |
| CIPHER_ALGORITHM_NAME | back to summary |
|---|---|
| private static final String CIPHER_ALGORITHM_NAME | |
| CONFIDENTIALITY_LIMIT | back to summary |
|---|---|
| private static final long CONFIDENTIALITY_LIMIT | |
| iv | back to summary |
|---|---|
| private final byte[] iv | |
| key | back to summary |
|---|---|
| private final SecretKey key | |
| T13GCMWriteCipher | back to summary |
|---|---|
| pack-priv T13GCMWriteCipher(final CipherSuite cipherSuite, final SecretKey baseSecret, final SecretKey key, final byte[] iv, final SecretKey hp, final int keyPhase) throws GeneralSecurityException | |
| confidentialityLimit | back to summary |
|---|---|
| pack-priv long confidentialityLimit() Implements abstract sun. Doc from sun. Returns the maximum limit on the number of packets that are allowed
to be encrypted with this instance of
| |
| doDiscard | back to summary |
|---|---|
| protected final void doDiscard() Implements abstract sun.
| |
| doEncryptPacket | back to summary |
|---|---|
| pack-priv void doEncryptPacket(long packetNumber, ByteBuffer packetHeader, ByteBuffer packetPayload, ByteBuffer output) throws ShortBufferException, QuicTransportException Implements abstract sun.
| |