Package com.google.crypto.tink.signature
Class RsaSsaPkcs1SignKeyManager
- java.lang.Object
-
- com.google.crypto.tink.signature.RsaSsaPkcs1SignKeyManager
-
public final class RsaSsaPkcs1SignKeyManager extends java.lang.ObjectThis key manager generates newRsaSsaPkcs1PrivateKeykeys and produces new instances ofRsaSsaPkcs1SignJce.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyTemplaterawRsa3072SsaPkcs1Sha256F4Template()static KeyTemplaterawRsa4096SsaPkcs1Sha512F4Template()static voidregisterPair(boolean newKeyAllowed)Registers theRsaSsaPkcs1SignKeyManagerand theRsaSsaPkcs1VerifyKeyManagerwith the registry, so that the the RsaSsaPkcs1-Keys can be used with Tink.static KeyTemplatersa3072SsaPkcs1Sha256F4Template()static KeyTemplatersa4096SsaPkcs1Sha512F4Template()
-
-
-
Method Detail
-
registerPair
public static void registerPair(boolean newKeyAllowed) throws java.security.GeneralSecurityExceptionRegisters theRsaSsaPkcs1SignKeyManagerand theRsaSsaPkcs1VerifyKeyManagerwith 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
KeyTemplatethat generates new instances of RSA-SSA-PKCS1 key pairs with the following parameters:- Hash function: SHA256.
- Modulus size: 3072 bit.
- Public exponent: 65537 (aka F4).
- Prefix type:
KeyTemplate.OutputPrefixType.TINK.
-
rawRsa3072SsaPkcs1Sha256F4Template
public static final KeyTemplate rawRsa3072SsaPkcs1Sha256F4Template()
- Returns:
- A
KeyTemplatethat generates new instances of RSA-SSA-PKCS1 key pairs with the following parameters:- Hash function: SHA256.
- Modulus size: 3072 bit.
- Public exponent: 65537 (aka F4).
- Prefix type:
KeyTemplate.OutputPrefixType.RAW(no prefix).
-
rsa4096SsaPkcs1Sha512F4Template
public static final KeyTemplate rsa4096SsaPkcs1Sha512F4Template()
- Returns:
- A
KeyTemplatethat generates new instances of RSA-SSA-PKCS1 key pairs with the following parameters:- Hash function: SHA512.
- Modulus size: 4096 bit.
- Public exponent: 65537 (aka F4).
- Prefix type:
KeyTemplate.OutputPrefixType.TINK.
-
rawRsa4096SsaPkcs1Sha512F4Template
public static final KeyTemplate rawRsa4096SsaPkcs1Sha512F4Template()
- Returns:
- A
KeyTemplatethat generates new instances of RSA-SSA-PKCS1 key pairs with the following parameters:- Hash function: SHA512.
- Modulus size: 4096 bit.
- Public exponent: 65537 (aka F4).
- Prefix type:
KeyTemplate.OutputPrefixType.RAW(no prefix).
-
-