Package com.google.crypto.tink.subtle
Class EciesHkdfRecipientKem
- java.lang.Object
-
- com.google.crypto.tink.subtle.EciesHkdfRecipientKem
-
public final class EciesHkdfRecipientKem extends java.lang.ObjectHKDF-based KEM (key encapsulation mechanism) for ECIES recipient.- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description EciesHkdfRecipientKem(java.security.interfaces.ECPrivateKey recipientPrivateKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]generateKey(byte[] kemBytes, java.lang.String hmacAlgo, byte[] hkdfSalt, byte[] hkdfInfo, int keySizeInBytes, EllipticCurves.PointFormatType pointFormat)
-
-
-
Method Detail
-
generateKey
public byte[] generateKey(byte[] kemBytes, java.lang.String hmacAlgo, byte[] hkdfSalt, byte[] hkdfInfo, int keySizeInBytes, EllipticCurves.PointFormatType pointFormat) throws java.security.GeneralSecurityException- Throws:
java.security.GeneralSecurityException
-
-