public static final class CertificateDescription.CertificateFingerprint extends GeneratedMessageV3 implements CertificateDescription.CertificateFingerprintOrBuilder
A group of fingerprints for the x509 certificate.
Protobuf type
google.cloud.security.privateca.v1.CertificateDescription.CertificateFingerprint
Static Fields
SHA256_HASH_FIELD_NUMBER
public static final int SHA256_HASH_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CertificateDescription.CertificateFingerprint getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CertificateDescription.CertificateFingerprint.Builder newBuilder()
Returns
newBuilder(CertificateDescription.CertificateFingerprint prototype)
public static CertificateDescription.CertificateFingerprint.Builder newBuilder(CertificateDescription.CertificateFingerprint prototype)
Parameter
Returns
public static CertificateDescription.CertificateFingerprint parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateDescription.CertificateFingerprint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CertificateDescription.CertificateFingerprint parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription.CertificateFingerprint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CertificateDescription.CertificateFingerprint parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription.CertificateFingerprint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateDescription.CertificateFingerprint parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CertificateDescription.CertificateFingerprint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateDescription.CertificateFingerprint parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateDescription.CertificateFingerprint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CertificateDescription.CertificateFingerprint parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateDescription.CertificateFingerprint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CertificateDescription.CertificateFingerprint> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CertificateDescription.CertificateFingerprint getDefaultInstanceForType()
Returns
getParserForType()
public Parser<CertificateDescription.CertificateFingerprint> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSha256Hash()
public String getSha256Hash()
The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
string sha256_hash = 1;
Returns
Type | Description |
String | The sha256Hash.
|
getSha256HashBytes()
public ByteString getSha256HashBytes()
The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
string sha256_hash = 1;
Returns
Type | Description |
ByteString | The bytes for sha256Hash.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CertificateDescription.CertificateFingerprint.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateDescription.CertificateFingerprint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CertificateDescription.CertificateFingerprint.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions