@Generated(value="OracleSDKGenerator", comments="API Version: 20210224") public final class CertificateBundleWithPrivateKey extends CertificateBundle
A certificate bundle, including the private key.
Note: Objects should always be created or deserialized using the CertificateBundleWithPrivateKey.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the CertificateBundleWithPrivateKey.Builder
, which maintain a
set of all explicitly set fields called CertificateBundleWithPrivateKey.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
CertificateBundleWithPrivateKey.Builder |
CertificateBundle.CertificateBundleType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CertificateBundleWithPrivateKey(String certificateId,
String certificateName,
Long versionNumber,
String serialNumber,
String certificatePem,
String certChainPem,
Date timeCreated,
Validity validity,
String versionName,
List<VersionStage> stages,
RevocationStatus revocationStatus,
String privateKeyPem,
String privateKeyPemPassphrase)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static CertificateBundleWithPrivateKey.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getPrivateKeyPem()
The private key (in PEM format) for the certificate.
|
String |
getPrivateKeyPemPassphrase()
An optional passphrase for the private key.
|
int |
hashCode() |
CertificateBundleWithPrivateKey.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCertChainPem, getCertificateId, getCertificateName, getCertificatePem, getRevocationStatus, getSerialNumber, getStages, getTimeCreated, getValidity, getVersionName, getVersionNumber
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CertificateBundleWithPrivateKey(String certificateId, String certificateName, Long versionNumber, String serialNumber, String certificatePem, String certChainPem, Date timeCreated, Validity validity, String versionName, List<VersionStage> stages, RevocationStatus revocationStatus, String privateKeyPem, String privateKeyPemPassphrase)
public static CertificateBundleWithPrivateKey.Builder builder()
Create a new builder.
public CertificateBundleWithPrivateKey.Builder toBuilder()
public String getPrivateKeyPem()
The private key (in PEM format) for the certificate.
public String getPrivateKeyPemPassphrase()
An optional passphrase for the private key.
public String toString()
toString
in class CertificateBundle
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CertificateBundle
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CertificateBundle
public int hashCode()
hashCode
in class CertificateBundle
Copyright © 2016–2024. All rights reserved.