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 |
---|
Type | Description |
int | |
AUTHORITY_KEY_ID_FIELD_NUMBER
public static final int AUTHORITY_KEY_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CERT_FINGERPRINT_FIELD_NUMBER
public static final int CERT_FINGERPRINT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CRL_DISTRIBUTION_POINTS_FIELD_NUMBER
public static final int CRL_DISTRIBUTION_POINTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PUBLIC_KEY_FIELD_NUMBER
public static final int PUBLIC_KEY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBJECT_DESCRIPTION_FIELD_NUMBER
public static final int SUBJECT_DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBJECT_KEY_ID_FIELD_NUMBER
public static final int SUBJECT_KEY_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
X509_DESCRIPTION_FIELD_NUMBER
public static final int X509_DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CertificateDescription getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CertificateDescription.Builder newBuilder()
newBuilder(CertificateDescription prototype)
public static CertificateDescription.Builder newBuilder(CertificateDescription prototype)
public static CertificateDescription parseDelimitedFrom(InputStream input)
public static CertificateDescription parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CertificateDescription parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CertificateDescription parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription parseFrom(CodedInputStream input)
public static CertificateDescription parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription parseFrom(InputStream input)
public static CertificateDescription parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CertificateDescription parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CertificateDescription> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
getAuthorityKeyId()
public CertificateDescription.KeyId getAuthorityKeyId()
getAuthorityKeyIdOrBuilder()
public CertificateDescription.KeyIdOrBuilder getAuthorityKeyIdOrBuilder()
getCertFingerprint()
public CertificateDescription.CertificateFingerprint getCertFingerprint()
The hash of the x.509 certificate.
.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;
getCertFingerprintOrBuilder()
public CertificateDescription.CertificateFingerprintOrBuilder getCertFingerprintOrBuilder()
The hash of the x.509 certificate.
.google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;
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()
getDefaultInstanceForType()
public CertificateDescription getDefaultInstanceForType()
getParserForType()
public Parser<CertificateDescription> getParserForType()
Overrides
getPublicKey()
public PublicKey getPublicKey()
The public key that corresponds to an issued certificate.
.google.cloud.security.privateca.v1.PublicKey public_key = 3;
Returns |
---|
Type | Description |
PublicKey | The publicKey.
|
getPublicKeyOrBuilder()
public PublicKeyOrBuilder getPublicKeyOrBuilder()
The public key that corresponds to an issued certificate.
.google.cloud.security.privateca.v1.PublicKey public_key = 3;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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;
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;
getSubjectKeyId()
public CertificateDescription.KeyId getSubjectKeyId()
getSubjectKeyIdOrBuilder()
public CertificateDescription.KeyIdOrBuilder getSubjectKeyIdOrBuilder()
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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;
getX509DescriptionOrBuilder()
public X509ParametersOrBuilder getX509DescriptionOrBuilder()
Describes some of the technical X.509 fields in a certificate.
.google.cloud.security.privateca.v1.X509Parameters x509_description = 2;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CertificateDescription.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateDescription.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CertificateDescription.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides