Package org.conscrypt
Class HpkeImpl.HpkeMlKemImpl
- java.lang.Object
-
- org.conscrypt.HpkeImpl
-
- org.conscrypt.HpkeImpl.HpkeMlKemImpl
-
- All Implemented Interfaces:
HpkeSpi
- Direct Known Subclasses:
HpkeImpl.MlKem1024HkdfSha256Aes128Gcm,HpkeImpl.MlKem1024HkdfSha256Aes256Gcm,HpkeImpl.MlKem1024HkdfSha256ChaCha20Poly1305,HpkeImpl.MlKem768HkdfSha256Aes128Gcm,HpkeImpl.MlKem768HkdfSha256Aes256Gcm,HpkeImpl.MlKem768HkdfSha256ChaCha20Poly1305
- Enclosing class:
- HpkeImpl
private static class HpkeImpl.HpkeMlKemImpl extends HpkeImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.conscrypt.HpkeImpl
HpkeImpl.MlKem1024HkdfSha256Aes128Gcm, HpkeImpl.MlKem1024HkdfSha256Aes256Gcm, HpkeImpl.MlKem1024HkdfSha256ChaCha20Poly1305, HpkeImpl.MlKem768HkdfSha256Aes128Gcm, HpkeImpl.MlKem768HkdfSha256Aes256Gcm, HpkeImpl.MlKem768HkdfSha256ChaCha20Poly1305, HpkeImpl.X25519_AES_128, HpkeImpl.X25519_AES_256, HpkeImpl.X25519_CHACHA20, HpkeImpl.XwingHkdfSha256Aes128Gcm, HpkeImpl.XwingHkdfSha256Aes256Gcm, HpkeImpl.XwingHkdfSha256ChaCha20Poly1305
-
-
Field Summary
-
Fields inherited from interface org.conscrypt.HpkeSpi
DEFAULT_PSK, DEFAULT_PSK_ID
-
-
Constructor Summary
Constructors Constructor Description HpkeMlKemImpl(HpkeSuite hpkeSuite)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) byte[]getPrivateRecipientKeyBytes(java.security.PrivateKey recipientKey)(package private) byte[]getRecipientPublicKeyBytes(java.security.PublicKey publicKey)-
Methods inherited from class org.conscrypt.HpkeImpl
engineExport, engineInitRecipient, engineInitSender, engineInitSenderForTesting, engineOpen, engineSeal, getEncapsulated
-
-
-
-
Constructor Detail
-
HpkeMlKemImpl
HpkeMlKemImpl(HpkeSuite hpkeSuite)
-
-
Method Detail
-
getRecipientPublicKeyBytes
byte[] getRecipientPublicKeyBytes(java.security.PublicKey publicKey) throws java.security.InvalidKeyException- Specified by:
getRecipientPublicKeyBytesin classHpkeImpl- Throws:
java.security.InvalidKeyException
-
getPrivateRecipientKeyBytes
byte[] getPrivateRecipientKeyBytes(java.security.PrivateKey recipientKey) throws java.security.InvalidKeyException- Specified by:
getPrivateRecipientKeyBytesin classHpkeImpl- Throws:
java.security.InvalidKeyException
-
-