Class HpkePrivateKeyManager
- java.lang.Object
-
- com.google.crypto.tink.hybrid.internal.HpkePrivateKeyManager
-
public final class HpkePrivateKeyManager extends java.lang.ObjectKey manager that generates newHpkePrivateKeykeys and produces new instances ofHpkeDecryptprimitives.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHpkePrivateKeyManager.HpkeRawKeySpecAnEncodedKeySpecimplementation returning "raw" to enable reflection by Conscrypt without strict compile-time coupling.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidregisterPair(boolean newKeyAllowed)Registers anHpkePrivateKeyManagerand anHpkePublicKeyManagerwith the registry, so that HpkePrivateKey and HpkePublicKey key types can be used with Tink.
-
-
-
Method Detail
-
registerPair
public static void registerPair(boolean newKeyAllowed) throws java.security.GeneralSecurityExceptionRegisters anHpkePrivateKeyManagerand anHpkePublicKeyManagerwith the registry, so that HpkePrivateKey and HpkePublicKey key types can be used with Tink.- Throws:
java.security.GeneralSecurityException
-
-