public class CertificateCredential extends Object
| Constructor and Description |
|---|
CertificateCredential(String certificate,
String certificateAuthority,
String privateKey)
Create an
CertificateCredential from the provided public and private key. |
| Modifier and Type | Method and Description |
|---|---|
String |
getCertificate()
Get the certificate value.
|
String |
getCertificateAuthority()
Get the certificate authority value.
|
String |
getPrivateKey()
Get the private key value.
|
public CertificateCredential(String certificate, String certificateAuthority, String privateKey)
CertificateCredential from the provided public and private key.
At least one of the key values must not be null.certificate - the certificate value; may be null if one of the
other parameters is not nullcertificateAuthority - the certificate authority value; may be null
if one of the other parameters is not nullprivateKey - the private key; may be null if one of the other
parameters is not nullpublic String getCertificate()
public String getCertificateAuthority()
public String getPrivateKey()