Class RsaCredential

java.lang.Object
org.springframework.credhub.support.KeyPairCredential
org.springframework.credhub.support.rsa.RsaCredential

public class RsaCredential extends KeyPairCredential
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 Details

    • RsaCredential

      public RsaCredential(String publicKey, String privateKey)
      Create an RsaCredential 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 null
      privateKey - the private key; may be null only if publicKey is not null