public final class Ed25519PrivateKeyManager extends Object
KeyManager generates new Ed25519PrivateKey keys and produces new
instances of Ed25519Sign.| Modifier and Type | Method and Description |
|---|---|
static KeyTemplate |
ed25519Template() |
static KeyTemplate |
rawEd25519Template() |
static void |
registerPair(boolean newKeyAllowed)
Registers the
Ed25519PrivateKeyManager and the Ed25519PublicKeyManager with the
registry, so that the the Ed25519-Keys can be used with Tink. |
public static void registerPair(boolean newKeyAllowed)
throws GeneralSecurityException
Ed25519PrivateKeyManager and the Ed25519PublicKeyManager with the
registry, so that the the Ed25519-Keys can be used with Tink.GeneralSecurityExceptionpublic static final KeyTemplate ed25519Template()
KeyTemplate that generates new instances of ED25519 keys.public static final KeyTemplate rawEd25519Template()
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.