Package com.google.crypto.tink.subtle
Class EciesHkdfSenderKem
- java.lang.Object
-
- com.google.crypto.tink.subtle.EciesHkdfSenderKem
-
public final class EciesHkdfSenderKem extends java.lang.ObjectHKDF-based ECIES-KEM (key encapsulation mechanism) for ECIES sender.- Since:
- 1.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEciesHkdfSenderKem.KemKeyA container for key parts generated by the KEM.
-
Constructor Summary
Constructors Constructor Description EciesHkdfSenderKem(java.security.interfaces.ECPublicKey recipientPublicKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EciesHkdfSenderKem.KemKeygenerateKey(java.lang.String hmacAlgo, byte[] hkdfSalt, byte[] hkdfInfo, int keySizeInBytes, EllipticCurves.PointFormatType pointFormat)
-
-
-
Method Detail
-
generateKey
public EciesHkdfSenderKem.KemKey generateKey(java.lang.String hmacAlgo, byte[] hkdfSalt, byte[] hkdfInfo, int keySizeInBytes, EllipticCurves.PointFormatType pointFormat) throws java.security.GeneralSecurityException
- Throws:
java.security.GeneralSecurityException
-
-