Class RsaSecretGenerator
java.lang.Object
org.gridgain.internal.security.key.RsaSecretGenerator
- All Implemented Interfaces:
SecretGenerator<RSAPrivateKey,RSAPublicKey>
public class RsaSecretGenerator
extends Object
implements SecretGenerator<RSAPrivateKey,RSAPublicKey>
The RSA key pair generator.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RsaSecretGenerator
public RsaSecretGenerator()
-
-
Method Details
-
generateKeyPair
Description copied from interface:SecretGeneratorGenerates a key pair.- Specified by:
generateKeyPairin interfaceSecretGenerator<RSAPrivateKey,RSAPublicKey> - Parameters:
id- Key id.ttl- Time to live in milliseconds.- Returns:
- Key pair.
-