Class Ed25519PrivateKeyManager


  • public final class Ed25519PrivateKeyManager
    extends java.lang.Object
    This instance of KeyManager generates new Ed25519PrivateKey keys and produces new instances of Ed25519Sign.
    • Method Detail

      • registerPair

        public static void registerPair​(boolean newKeyAllowed)
                                 throws java.security.GeneralSecurityException
        Registers the Ed25519PrivateKeyManager and the Ed25519PublicKeyManager with the registry, so that the the Ed25519-Keys can be used with Tink.
        Throws:
        java.security.GeneralSecurityException
      • ed25519Template

        public static final KeyTemplate ed25519Template()
        Returns:
        A KeyTemplate that generates new instances of ED25519 keys.
      • rawEd25519Template

        public static final KeyTemplate rawEd25519Template()
        Returns:
        A KeyTemplate that generates new instances of Ed25519 keys. Keys generated from this template creates raw signatures of exactly 64 bytes. It's compatible with most other libraries.