Class HpkePrivateKeyManager


  • public final class HpkePrivateKeyManager
    extends java.lang.Object
    Key manager that generates new HpkePrivateKey keys and produces new instances of HpkeDecrypt primitives.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void registerPair​(boolean newKeyAllowed)
      Registers an HpkePrivateKeyManager and an HpkePublicKeyManager with the registry, so that HpkePrivateKey and HpkePublicKey key types can be used with Tink.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • registerPair

        public static void registerPair​(boolean newKeyAllowed)
                                 throws java.security.GeneralSecurityException
        Registers an HpkePrivateKeyManager and an HpkePublicKeyManager with the registry, so that HpkePrivateKey and HpkePublicKey key types can be used with Tink.
        Throws:
        java.security.GeneralSecurityException