Class RsaSsaPkcs1SignKeyManager


  • public final class RsaSsaPkcs1SignKeyManager
    extends java.lang.Object
    This key manager generates new RsaSsaPkcs1PrivateKey keys and produces new instances of RsaSsaPkcs1SignJce.
    • Method Detail

      • registerPair

        public static void registerPair​(boolean newKeyAllowed)
                                 throws java.security.GeneralSecurityException
        Registers the RsaSsaPkcs1SignKeyManager and the RsaSsaPkcs1VerifyKeyManager with the registry, so that the the RsaSsaPkcs1-Keys can be used with Tink.
        Throws:
        java.security.GeneralSecurityException
      • rsa3072SsaPkcs1Sha256F4Template

        public static final KeyTemplate rsa3072SsaPkcs1Sha256F4Template()
        Returns:
        A KeyTemplate that generates new instances of RSA-SSA-PKCS1 key pairs with the following parameters:
      • rawRsa3072SsaPkcs1Sha256F4Template

        public static final KeyTemplate rawRsa3072SsaPkcs1Sha256F4Template()
        Returns:
        A KeyTemplate that generates new instances of RSA-SSA-PKCS1 key pairs with the following parameters:
      • rsa4096SsaPkcs1Sha512F4Template

        public static final KeyTemplate rsa4096SsaPkcs1Sha512F4Template()
        Returns:
        A KeyTemplate that generates new instances of RSA-SSA-PKCS1 key pairs with the following parameters:
      • rawRsa4096SsaPkcs1Sha512F4Template

        public static final KeyTemplate rawRsa4096SsaPkcs1Sha512F4Template()
        Returns:
        A KeyTemplate that generates new instances of RSA-SSA-PKCS1 key pairs with the following parameters: