| Modifier and Type | Method and Description |
|---|---|
static XChaCha20Poly1305Key |
XChaCha20Poly1305Key.create(SecretBytes secretBytes) |
static ChaCha20Poly1305Key |
ChaCha20Poly1305Key.create(SecretBytes secretBytes) |
static KeyTemplate |
KmsEnvelopeAeadKeyManager.createKeyTemplate(String kekUri,
KeyTemplate dekTemplate)
Returns a new
KeyTemplate that can generate a LegacyKmsEnvelopeAeadKey whose
key encrypting key (KEK) is pointing to kekUri and DEK template is dekTemplate
(or a derived version of it). |
| Modifier and Type | Class and Description |
|---|---|
class |
AesCtrHmacAeadProtoSerialization
Methods to serialize and parse
AesCtrHmacAeadKey objects and AesCtrHmacAeadParameters objects. |
class |
AesEaxProtoSerialization
Methods to serialize and parse
AesEaxKey objects and AesEaxParameters objects |
class |
AesGcmProtoSerialization
Methods to serialize and parse
AesGcmKey objects and AesGcmParameters objects |
class |
AesGcmSivProtoSerialization
Methods to serialize and parse
AesGcmSivKey objects and AesGcmSivParameters
objects |
class |
ChaCha20Poly1305ProtoSerialization
Methods to serialize and parse
ChaCha20Poly1305Key objects and ChaCha20Poly1305Parameters objects |
class |
XAesGcmProtoSerialization
Methods to serialize and parse
XAesGcmKey objects and XAesGcmParameters objects |
class |
XChaCha20Poly1305ProtoSerialization
Methods to serialize and parse
XChaCha20Poly1305Key objects and XChaCha20Poly1305Parameters objects |
| Modifier and Type | Method and Description |
|---|---|
static InsecureNonceChaCha20Poly1305Jce |
InsecureNonceChaCha20Poly1305Jce.create(byte[] key) |
static Aead |
ChaCha20Poly1305Jce.create(ChaCha20Poly1305Key key) |
static Aead |
XAesGcm.create(XAesGcmKey key) |
static Aead |
XChaCha20Poly1305Jce.create(XChaCha20Poly1305Key key) |
| Modifier and Type | Method and Description |
|---|---|
static Aead |
AesGcmSiv.create(AesGcmSivKey key) |
| Modifier and Type | Class and Description |
|---|---|
class |
AesSivProtoSerialization
Methods to serialize and parse
AesSivKey objects and AesSivParameters objects |
| Modifier and Type | Class and Description |
|---|---|
class |
HpkeProtoSerialization
|
| Modifier and Type | Method and Description |
|---|---|
static HpkePrivateKey |
HpkePrivateKey.create(HpkePublicKey publicKey,
SecretBytes privateKeyBytes)
Creates a new HPKE private key.
|
static EciesPrivateKey |
EciesPrivateKey.createForCurveX25519(EciesPublicKey publicKey,
SecretBytes x25519PrivateKeyBytes)
Creates a new ECIES private key using Curve25519.
|
static EciesPrivateKey |
EciesPrivateKey.createForNistCurve(EciesPublicKey publicKey,
SecretBigInteger nistPrivateKeyValue)
Creates a new ECIES private key using NIST Curves.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EciesProtoSerialization
Methods to serialize and parse
EciesParameters objects. |
| Modifier and Type | Method and Description |
|---|---|
static HybridEncrypt |
HpkeEncrypt.create(HpkePublicKey key) |
static HpkeContext |
HpkeContext.createAuthRecipientContext(byte[] encapsulatedKey,
HpkeKemPrivateKey recipientPrivateKey,
HpkeKem kem,
HpkeKdf kdf,
HpkeAead aead,
byte[] info,
HpkePublicKey senderPublicKey)
Creates HPKE recipient context with authentication according to KeySchedule() defined in
https://www.rfc-editor.org/rfc/rfc9180.html#section-5.1.3.
|
static HpkeContext |
HpkeContext.createAuthSenderContext(HpkePublicKey recipientPublicKey,
HpkeKem kem,
HpkeKdf kdf,
HpkeAead aead,
byte[] info,
HpkeKemPrivateKey senderPrivateKey)
Creates HPKE sender context with authentication according to KeySchedule() defined in
https://www.rfc-editor.org/rfc/rfc9180.html#section-5.1.3.
|
static HpkeKemPrivateKey |
HpkeKemKeyFactory.createPrivate(HpkePrivateKey privateKey) |
| Modifier and Type | Method and Description |
|---|---|
JwtRsaSsaPssPrivateKey |
JwtRsaSsaPssPrivateKey.Builder.build() |
JwtRsaSsaPkcs1PrivateKey |
JwtRsaSsaPkcs1PrivateKey.Builder.build() |
static JwtEcdsaPrivateKey |
JwtEcdsaPrivateKey.create(JwtEcdsaPublicKey publicKey,
SecretBigInteger privateValue) |
| Modifier and Type | Method and Description |
|---|---|
static KeyDeriver |
PrfBasedKeyDeriver.create(PrfBasedKeyDerivationKey key) |
Key |
PrfBasedKeyDeriver.deriveKey(byte[] salt) |
| Modifier and Type | Class and Description |
|---|---|
class |
AesCmacProtoSerialization
Methods to serialize and parse
AesCmacKey objects and AesCmacParameters objects. |
class |
HmacProtoSerialization
Methods to serialize and parse
HmacKey objects and HmacParameters objects. |
| Modifier and Type | Class and Description |
|---|---|
class |
AesCmacPrfProtoSerialization
Methods to serialize and parse
AesCmacPrfKey objects and AesCmacPrfParameters
objects. |
class |
HkdfPrfProtoSerialization
Methods to serialize and parse
HkdfPrfKey objects and HkdfPrfParameters objects. |
class |
HmacPrfProtoSerialization
Methods to serialize and parse
HmacPrfKey objects and HmacPrfParameters objects. |
class |
PrfAesCmacConscrypt
Prf implementation of AES-CMAC using Conscrypt. |
| Modifier and Type | Method and Description |
|---|---|
RsaSsaPssPrivateKey |
RsaSsaPssPrivateKey.Builder.build() |
RsaSsaPkcs1PrivateKey |
RsaSsaPkcs1PrivateKey.Builder.build() |
EcdsaPrivateKey |
EcdsaPrivateKey.Builder.build() |
static Ed25519PublicKey |
Ed25519PublicKey.create(Bytes publicKeyBytes) |
static Ed25519PrivateKey |
Ed25519PrivateKey.create(Ed25519PublicKey publicKey,
SecretBytes privateKeyBytes) |
| Modifier and Type | Class and Description |
|---|---|
class |
EcdsaProtoSerialization
Methods to serialize and parse
EcdsaPrivateKey and EcdsaPublicKey objects and
EcdsaParameters objects. |
class |
Ed25519ProtoSerialization
Methods to serialize and parse
Ed25519PrivateKey and Ed25519PublicKey objects and
Ed25519Parameters objects. |
class |
RsaSsaPkcs1ProtoSerialization
Methods to serialize and parse
RsaSsaPkcs1PrivateKey and RsaSsaPkcs1PublicKey
objects and RsaSsaPkcs1Parameters objects. |
class |
RsaSsaPssProtoSerialization
Methods to serialize and parse
RsaSsaPssPrivateKey and RsaSsaPssPublicKey objects
and RsaSsaPssParameters objects. |
| Modifier and Type | Method and Description |
|---|---|
static PublicKeySign |
EcdsaSignJce.create(EcdsaPrivateKey key) |
static PublicKeyVerify |
EcdsaVerifyJce.create(EcdsaPublicKey key) |
static PublicKeySign |
Ed25519SignJce.create(Ed25519PrivateKey key) |
static PublicKeyVerify |
Ed25519VerifyJce.create(Ed25519PublicKey key) |
static PublicKeyVerify |
RsaSsaPkcs1VerifyConscrypt.create(RsaSsaPkcs1PublicKey key)
Returns a new instance of PublicKeyVerify for RsaSsaPkcs1 that uses Conscrypt.
|
static PublicKeySign |
RsaSsaPssSignConscrypt.create(RsaSsaPssPrivateKey key) |
static PublicKeyVerify |
RsaSsaPssVerifyConscrypt.create(RsaSsaPssPublicKey key) |
| Modifier and Type | Class and Description |
|---|---|
class |
AesCtrHmacStreamingProtoSerialization
Methods to serialize and parse
AesCtrHmacStreamingKey objects and AesCtrHmacStreamingParameters objects |
class |
AesGcmHkdfStreamingProtoSerialization
Methods to serialize and parse
AesGcmHkdfStreamingKey objects and AesGcmHkdfStreamingParameters objects |
| Modifier and Type | Class and Description |
|---|---|
class |
AesCtrHmacStreaming
Streaming encryption using AES-CTR and HMAC.
|
class |
AesGcmHkdfStreaming
Streaming encryption using
AES-GCM with HKDF as key derivation function. |
class |
EncryptThenAuthenticate
This primitive performs an encrypt-then-Mac operation on plaintext and associated data (ad).
|
class |
PrfAesCmac
An implementation of CMAC following RFC 4493.
|
class |
PrfHmacJce
Prf implementation using JCE. |
class |
PrfMac
Class that provides the functionality expressed by the Mac primitive using a Prf implementation.
|
| Modifier and Type | Method and Description |
|---|---|
static Aead |
AesEaxJce.create(AesEaxKey key) |
static Aead |
AesGcmJce.create(AesGcmKey key) |
static DeterministicAead |
AesSiv.create(AesSivKey key) |
static Aead |
ChaCha20Poly1305.create(ChaCha20Poly1305Key key) |
static HybridDecrypt |
EciesAeadHkdfHybridDecrypt.create(EciesPrivateKey key) |
static HybridEncrypt |
EciesAeadHkdfHybridEncrypt.create(EciesPublicKey key) |
static PublicKeySign |
Ed25519Sign.create(Ed25519PrivateKey key) |
static PublicKeyVerify |
Ed25519Verify.create(Ed25519PublicKey key) |
static PublicKeySign |
RsaSsaPkcs1SignJce.create(RsaSsaPkcs1PrivateKey key) |
static PublicKeyVerify |
RsaSsaPkcs1VerifyJce.create(RsaSsaPkcs1PublicKey key) |
static PublicKeySign |
RsaSsaPssSignJce.create(RsaSsaPssPrivateKey key) |
static PublicKeyVerify |
RsaSsaPssVerifyJce.create(RsaSsaPssPublicKey key) |
static Aead |
XChaCha20Poly1305.create(XChaCha20Poly1305Key key) |
| Modifier and Type | Class and Description |
|---|---|
class |
HkdfStreamingPrf
An implementation of the HKDF pseudorandom function, as given by RFC 5869.
|