public class RsaCredential extends KeyPairCredential
Constructor and Description |
---|
RsaCredential(String publicKey,
String privateKey)
Create an
RsaCredential from the provided public and private key. |
getPrivateKey, getPublicKey
public RsaCredential(String publicKey, String privateKey)
RsaCredential
from the provided public and private key. At least
one of the key values must not be null.publicKey
- the public key; may be null only if
privateKey is not nullprivateKey
- the private key; may be null only if
publicKey is not null