public class RsaCredential extends KeyPairCredential
Constructor and Description |
---|
RsaCredential(java.lang.String publicKey,
java.lang.String privateKey)
Create an
RsaCredential from the provided public and private key. |
getPrivateKey, getPublicKey
public RsaCredential(java.lang.String publicKey, java.lang.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