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
ConstructorsConstructorDescriptionRsaCredential(String publicKey, String privateKey) Create anRsaCredentialfrom the provided public and private key. -
Method Summary
Methods inherited from class org.springframework.credhub.support.KeyPairCredential
getPrivateKey, getPublicKey
-
Constructor Details
-
RsaCredential
Create anRsaCredentialfrom 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
-