Class X509CertificateDetails (2.43.0)

public final class X509CertificateDetails extends GeneratedMessageV3 implements X509CertificateDetailsOrBuilder

Details of an X.509 certificate. For informational purposes only.

Protobuf type google.cloud.iot.v1.X509CertificateDetails

Static Fields

EXPIRY_TIME_FIELD_NUMBER

public static final int EXPIRY_TIME_FIELD_NUMBER
Field Value
Type Description
int

ISSUER_FIELD_NUMBER

public static final int ISSUER_FIELD_NUMBER
Field Value
Type Description
int

PUBLIC_KEY_TYPE_FIELD_NUMBER

public static final int PUBLIC_KEY_TYPE_FIELD_NUMBER
Field Value
Type Description
int

SIGNATURE_ALGORITHM_FIELD_NUMBER

public static final int SIGNATURE_ALGORITHM_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

SUBJECT_FIELD_NUMBER

public static final int SUBJECT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static X509CertificateDetails getDefaultInstance()
Returns
Type Description
X509CertificateDetails

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static X509CertificateDetails.Builder newBuilder()
Returns
Type Description
X509CertificateDetails.Builder

newBuilder(X509CertificateDetails prototype)

public static X509CertificateDetails.Builder newBuilder(X509CertificateDetails prototype)
Parameter
Name Description
prototype X509CertificateDetails
Returns
Type Description
X509CertificateDetails.Builder

parseDelimitedFrom(InputStream input)

public static X509CertificateDetails parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
X509CertificateDetails
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static X509CertificateDetails parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
X509CertificateDetails
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static X509CertificateDetails parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
X509CertificateDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static X509CertificateDetails parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
X509CertificateDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static X509CertificateDetails parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
X509CertificateDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static X509CertificateDetails parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
X509CertificateDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static X509CertificateDetails parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
X509CertificateDetails
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static X509CertificateDetails parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
X509CertificateDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static X509CertificateDetails parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
X509CertificateDetails
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static X509CertificateDetails parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
X509CertificateDetails
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static X509CertificateDetails parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
X509CertificateDetails
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static X509CertificateDetails parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
X509CertificateDetails
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<X509CertificateDetails> parser()
Returns
Type Description
Parser<X509CertificateDetails>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public X509CertificateDetails getDefaultInstanceForType()
Returns
Type Description
X509CertificateDetails

getExpiryTime()

public Timestamp getExpiryTime()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
Type Description
Timestamp

The expiryTime.

getExpiryTimeOrBuilder()

public TimestampOrBuilder getExpiryTimeOrBuilder()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
Type Description
TimestampOrBuilder

getIssuer()

public String getIssuer()

The entity that signed the certificate.

string issuer = 1;

Returns
Type Description
String

The issuer.

getIssuerBytes()

public ByteString getIssuerBytes()

The entity that signed the certificate.

string issuer = 1;

Returns
Type Description
ByteString

The bytes for issuer.

getParserForType()

public Parser<X509CertificateDetails> getParserForType()
Returns
Type Description
Parser<X509CertificateDetails>
Overrides

getPublicKeyType()

public String getPublicKeyType()

The type of public key in the certificate.

string public_key_type = 6;

Returns
Type Description
String

The publicKeyType.

getPublicKeyTypeBytes()

public ByteString getPublicKeyTypeBytes()

The type of public key in the certificate.

string public_key_type = 6;

Returns
Type Description
ByteString

The bytes for publicKeyType.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSignatureAlgorithm()

public String getSignatureAlgorithm()

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Returns
Type Description
String

The signatureAlgorithm.

getSignatureAlgorithmBytes()

public ByteString getSignatureAlgorithmBytes()

The algorithm used to sign the certificate.

string signature_algorithm = 5;

Returns
Type Description
ByteString

The bytes for signatureAlgorithm.

getStartTime()

public Timestamp getStartTime()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
TimestampOrBuilder

getSubject()

public String getSubject()

The entity the certificate and public key belong to.

string subject = 2;

Returns
Type Description
String

The subject.

getSubjectBytes()

public ByteString getSubjectBytes()

The entity the certificate and public key belong to.

string subject = 2;

Returns
Type Description
ByteString

The bytes for subject.

hasExpiryTime()

public boolean hasExpiryTime()

The time the certificate becomes invalid.

.google.protobuf.Timestamp expiry_time = 4;

Returns
Type Description
boolean

Whether the expiryTime field is set.

hasStartTime()

public boolean hasStartTime()

The time the certificate becomes valid.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
boolean

Whether the startTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public X509CertificateDetails.Builder newBuilderForType()
Returns
Type Description
X509CertificateDetails.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected X509CertificateDetails.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
X509CertificateDetails.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public X509CertificateDetails.Builder toBuilder()
Returns
Type Description
X509CertificateDetails.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException