public final class RsaSsaPssSignKeyManager extends Object
RsaSsaPssPrivateKey keys and produces new instances of
RsaSsaPssSignJce.| Modifier and Type | Method and Description |
|---|---|
static KeyTemplate |
rawRsa3072PssSha256F4Template() |
static KeyTemplate |
rawRsa4096PssSha512F4Template() |
static void |
registerPair(boolean newKeyAllowed)
Registers the
RsaSsaPssSignKeyManager and the RsaSsaPssVerifyKeyManager with
the registry, so that the the RsaSsaPss-Keys can be used with Tink. |
static KeyTemplate |
rsa3072PssSha256F4Template() |
static KeyTemplate |
rsa4096PssSha512F4Template() |
public static void registerPair(boolean newKeyAllowed)
throws GeneralSecurityException
RsaSsaPssSignKeyManager and the RsaSsaPssVerifyKeyManager with
the registry, so that the the RsaSsaPss-Keys can be used with Tink.GeneralSecurityExceptionpublic static final KeyTemplate rsa3072PssSha256F4Template()
KeyTemplate that generates new instances of RSA-SSA-PSS key pairs with the
following parameters:
KeyTemplate.OutputPrefixType#TINK.
public static final KeyTemplate rawRsa3072PssSha256F4Template()
KeyTemplate that generates new instances of RSA-SSA-PSS key pairs with the
following parameters:
KeyTemplate.OutputPrefixType#RAW (no prefix).
Keys generated from this template create signatures compatible with OpenSSL and other libraries.
public static final KeyTemplate rsa4096PssSha512F4Template()
KeyTemplate that generates new instances of RSA-SSA-PSS key pairs with the
following parameters:
KeyTemplate.OutputPrefixType#TINK.
public static final KeyTemplate rawRsa4096PssSha512F4Template()
KeyTemplate that generates new instances of RSA-SSA-PSS key pairs with the
following parameters:
KeyTemplate.OutputPrefixType#RAW (no prefix).
Keys generated from this template create signatures compatible with OpenSSL and other libraries.