public final class RsaSsaPkcs1SignKeyManager extends Object
RsaSsaPkcs1PrivateKey keys and produces new instances of
RsaSsaPkcs1SignJce.| Modifier and Type | Method and Description |
|---|---|
static KeyTemplate |
rawRsa3072SsaPkcs1Sha256F4Template() |
static KeyTemplate |
rawRsa4096SsaPkcs1Sha512F4Template() |
static void |
registerPair(boolean newKeyAllowed)
Registers the
RsaSsaPkcs1SignKeyManager and the RsaSsaPkcs1VerifyKeyManager
with the registry, so that the the RsaSsaPkcs1-Keys can be used with Tink. |
static KeyTemplate |
rsa3072SsaPkcs1Sha256F4Template() |
static KeyTemplate |
rsa4096SsaPkcs1Sha512F4Template() |
public static void registerPair(boolean newKeyAllowed)
throws GeneralSecurityException
RsaSsaPkcs1SignKeyManager and the RsaSsaPkcs1VerifyKeyManager
with the registry, so that the the RsaSsaPkcs1-Keys can be used with Tink.GeneralSecurityExceptionpublic static final KeyTemplate rsa3072SsaPkcs1Sha256F4Template()
KeyTemplate that generates new instances of RSA-SSA-PKCS1 key pairs with the
following parameters:
KeyTemplate.OutputPrefixType#TINK.
public static final KeyTemplate rawRsa3072SsaPkcs1Sha256F4Template()
KeyTemplate that generates new instances of RSA-SSA-PKCS1 key pairs with the
following parameters:
KeyTemplate.OutputPrefixType#RAW (no prefix).
public static final KeyTemplate rsa4096SsaPkcs1Sha512F4Template()
KeyTemplate that generates new instances of RSA-SSA-PKCS1 key pairs with the
following parameters:
KeyTemplate.OutputPrefixType#TINK.
public static final KeyTemplate rawRsa4096SsaPkcs1Sha512F4Template()
KeyTemplate that generates new instances of RSA-SSA-PKCS1 key pairs with the
following parameters:
KeyTemplate.OutputPrefixType#RAW (no prefix).