public final class CertificateDescription extends GeneratedMessageV3 implements CertificateDescriptionOrBuilder
A CertificateDescription describes an X.509 certificate or CSR that has
been issued, as an alternative to using ASN.1 / X.509.
Protobuf type google.cloud.security.privateca.v1.CertificateDescription
Static Fields
AIA_ISSUING_CERTIFICATE_URLS_FIELD_NUMBER
public static final int AIA_ISSUING_CERTIFICATE_URLS_FIELD_NUMBER
Field Value
AUTHORITY_KEY_ID_FIELD_NUMBER
public static final int AUTHORITY_KEY_ID_FIELD_NUMBER
Field Value
CERT_FINGERPRINT_FIELD_NUMBER
public static final int CERT_FINGERPRINT_FIELD_NUMBER
Field Value
CRL_DISTRIBUTION_POINTS_FIELD_NUMBER
public static final int CRL_DISTRIBUTION_POINTS_FIELD_NUMBER
Field Value
PUBLIC_KEY_FIELD_NUMBER
public static final int PUBLIC_KEY_FIELD_NUMBER
Field Value
SUBJECT_DESCRIPTION_FIELD_NUMBER
public static final int SUBJECT_DESCRIPTION_FIELD_NUMBER
Field Value
SUBJECT_KEY_ID_FIELD_NUMBER
public static final int SUBJECT_KEY_ID_FIELD_NUMBER
Field Value
X509_DESCRIPTION_FIELD_NUMBER
public static final int X509_DESCRIPTION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CertificateDescription getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CertificateDescription.Builder newBuilder()
Returns
newBuilder(CertificateDescription prototype)
public static CertificateDescription.Builder newBuilder(CertificateDescription prototype)
Parameter
Returns
public static CertificateDescription parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateDescription parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CertificateDescription parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CertificateDescription parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateDescription parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CertificateDescription parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateDescription parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateDescription parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CertificateDescription parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CertificateDescription> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAiaIssuingCertificateUrls(int index)
public String getAiaIssuingCertificateUrls(int index)
Describes lists of issuer CA certificate URLs that appear in the
"Authority Information Access" extension in the certificate.
repeated string aia_issuing_certificate_urls = 7;
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The aiaIssuingCertificateUrls at the given index.
|
getAiaIssuingCertificateUrlsBytes(int index)
public ByteString getAiaIssuingCertificateUrlsBytes(int index)
Describes lists of issuer CA certificate URLs that appear in the
"Authority Information Access" extension in the certificate.
repeated string aia_issuing_certificate_urls = 7;
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the aiaIssuingCertificateUrls at the given index.
|
getAiaIssuingCertificateUrlsCount()
public int getAiaIssuingCertificateUrlsCount()
Describes lists of issuer CA certificate URLs that appear in the
"Authority Information Access" extension in the certificate.
repeated string aia_issuing_certificate_urls = 7;
Returns
Type | Description |
int | The count of aiaIssuingCertificateUrls.
|
getAiaIssuingCertificateUrlsList()
public ProtocolStringList getAiaIssuingCertificateUrlsList()
Describes lists of issuer CA certificate URLs that appear in the
"Authority Information Access" extension in the certificate.
repeated string aia_issuing_certificate_urls = 7;
Returns
getAuthorityKeyId()
public CertificateDescription.KeyId getAuthorityKeyId()
Returns
getAuthorityKeyIdOrBuilder()
public CertificateDescription.KeyIdOrBuilder getAuthorityKeyIdOrBuilder()
Returns
getCertFingerprint()
public CertificateDescription.CertificateFingerprint getCertFingerprint()
The hash of the x.509 certificate.
.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;
Returns
getCertFingerprintOrBuilder()
public CertificateDescription.CertificateFingerprintOrBuilder getCertFingerprintOrBuilder()
The hash of the x.509 certificate.
.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;
Returns
getCrlDistributionPoints(int index)
public String getCrlDistributionPoints(int index)
Parameter
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
String | The crlDistributionPoints at the given index.
|
getCrlDistributionPointsBytes(int index)
public ByteString getCrlDistributionPointsBytes(int index)
Parameter
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
ByteString | The bytes of the crlDistributionPoints at the given index.
|
getCrlDistributionPointsCount()
public int getCrlDistributionPointsCount()
Returns
Type | Description |
int | The count of crlDistributionPoints.
|
getCrlDistributionPointsList()
public ProtocolStringList getCrlDistributionPointsList()
Returns
getDefaultInstanceForType()
public CertificateDescription getDefaultInstanceForType()
Returns
getParserForType()
public Parser<CertificateDescription> getParserForType()
Returns
Overrides
getPublicKey()
public PublicKey getPublicKey()
The public key that corresponds to an issued certificate.
.google.cloud.security.privateca.v1.PublicKey public_key = 3;
Returns
getPublicKeyOrBuilder()
public PublicKeyOrBuilder getPublicKeyOrBuilder()
The public key that corresponds to an issued certificate.
.google.cloud.security.privateca.v1.PublicKey public_key = 3;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSubjectDescription()
public CertificateDescription.SubjectDescription getSubjectDescription()
Describes some of the values in a certificate that are related to the
subject and lifetime.
.google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription subject_description = 1;
Returns
getSubjectDescriptionOrBuilder()
public CertificateDescription.SubjectDescriptionOrBuilder getSubjectDescriptionOrBuilder()
Describes some of the values in a certificate that are related to the
subject and lifetime.
.google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription subject_description = 1;
Returns
getSubjectKeyId()
public CertificateDescription.KeyId getSubjectKeyId()
Returns
getSubjectKeyIdOrBuilder()
public CertificateDescription.KeyIdOrBuilder getSubjectKeyIdOrBuilder()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getX509Description()
public X509Parameters getX509Description()
Describes some of the technical X.509 fields in a certificate.
.google.cloud.security.privateca.v1.X509Parameters x509_description = 2;
Returns
getX509DescriptionOrBuilder()
public X509ParametersOrBuilder getX509DescriptionOrBuilder()
Describes some of the technical X.509 fields in a certificate.
.google.cloud.security.privateca.v1.X509Parameters x509_description = 2;
Returns
hasAuthorityKeyId()
public boolean hasAuthorityKeyId()
Returns
Type | Description |
boolean | Whether the authorityKeyId field is set.
|
hasCertFingerprint()
public boolean hasCertFingerprint()
The hash of the x.509 certificate.
.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;
Returns
Type | Description |
boolean | Whether the certFingerprint field is set.
|
hasPublicKey()
public boolean hasPublicKey()
The public key that corresponds to an issued certificate.
.google.cloud.security.privateca.v1.PublicKey public_key = 3;
Returns
Type | Description |
boolean | Whether the publicKey field is set.
|
hasSubjectDescription()
public boolean hasSubjectDescription()
Describes some of the values in a certificate that are related to the
subject and lifetime.
.google.cloud.security.privateca.v1.CertificateDescription.SubjectDescription subject_description = 1;
Returns
Type | Description |
boolean | Whether the subjectDescription field is set.
|
hasSubjectKeyId()
public boolean hasSubjectKeyId()
Returns
Type | Description |
boolean | Whether the subjectKeyId field is set.
|
hasX509Description()
public boolean hasX509Description()
Describes some of the technical X.509 fields in a certificate.
.google.cloud.security.privateca.v1.X509Parameters x509_description = 2;
Returns
Type | Description |
boolean | Whether the x509Description field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CertificateDescription.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateDescription.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CertificateDescription.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions