| Modifier and Type | Method and Description |
|---|---|
static byte[] |
newEncodedRsaPrivateKeyBytes()
Returns a new copy of a sample encoded RSA private key that matches
newEncodedRsaPublicKeyBytes().
|
static byte[] |
newEncodedRsaPublicKeyBytes()
Returns a new copy of a sample encoded public key that matches
newEncodedRsaPrivateKeyBytes().
|
static RSAPrivateKey |
newRsaPrivateKey()
Returns a new sample RSA private key that matches
newRsaPublicKey().
|
static RSAPublicKey |
newRsaPublicKey()
Returns a new sample RSA public key that matches
newRsaPrivateKey().
|
public static byte[] newEncodedRsaPrivateKeyBytes()
newEncodedRsaPublicKeyBytes().
public static byte[] newEncodedRsaPublicKeyBytes()
newEncodedRsaPrivateKeyBytes().
public static RSAPrivateKeynewRsaPrivateKey() throws GeneralSecurityException
newRsaPublicKey().
GeneralSecurityException
public static RSAPublicKeynewRsaPublicKey() throws GeneralSecurityException
newRsaPrivateKey().
GeneralSecurityException