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.v1beta1.CertificateDescription
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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 |
|
CONFIG_VALUES_FIELD_NUMBER
public static final int CONFIG_VALUES_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 |
|
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;
Returns |
Type |
Description |
ProtocolStringList |
A list containing the aiaIssuingCertificateUrls.
|
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.v1beta1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;
getCertFingerprintOrBuilder()
public CertificateDescription.CertificateFingerprintOrBuilder getCertFingerprintOrBuilder()
The hash of the x.509 certificate.
.google.cloud.security.privateca.v1beta1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;
getConfigValues()
public ReusableConfigValues getConfigValues()
Describes some of the technical fields in a certificate.
.google.cloud.security.privateca.v1beta1.ReusableConfigValues config_values = 2;
getConfigValuesOrBuilder()
public ReusableConfigValuesOrBuilder getConfigValuesOrBuilder()
Describes some of the technical fields in a certificate.
.google.cloud.security.privateca.v1beta1.ReusableConfigValues config_values = 2;
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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.CertificateDescription.SubjectDescription subject_description = 1;
getSubjectKeyId()
public CertificateDescription.KeyId getSubjectKeyId()
getSubjectKeyIdOrBuilder()
public CertificateDescription.KeyIdOrBuilder getSubjectKeyIdOrBuilder()
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.v1beta1.CertificateDescription.CertificateFingerprint cert_fingerprint = 8;
Returns |
Type |
Description |
boolean |
Whether the certFingerprint field is set.
|
hasConfigValues()
public boolean hasConfigValues()
Describes some of the technical fields in a certificate.
.google.cloud.security.privateca.v1beta1.ReusableConfigValues config_values = 2;
Returns |
Type |
Description |
boolean |
Whether the configValues field is set.
|
hasPublicKey()
public boolean hasPublicKey()
The public key that corresponds to an issued certificate.
.google.cloud.security.privateca.v1beta1.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.v1beta1.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.
|
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)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CertificateDescription.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides