Class RsaCredential
java.lang.Object
org.springframework.credhub.support.KeyPairCredential
org.springframework.credhub.support.rsa.RsaCredential
An RSA credential consists of a public and/or private key. At least one of these key
values must be provided.
- Author:
- Scott Frederick
-
Constructor Summary
ConstructorDescriptionRsaCredential
(String publicKey, String privateKey) Create anRsaCredential
from the provided public and private key. -
Method Summary
Methods inherited from class org.springframework.credhub.support.KeyPairCredential
getPrivateKey, getPublicKey
-
Constructor Details
-
RsaCredential
Create anRsaCredential
from the provided public and private key. At least one of the key values must not be null.- Parameters:
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
-