public final class Certificate extends GeneratedMessage implements CertificateOrBuilder
Certificate information
Protobuf type google.backstory.Certificate
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ISSUER_FIELD_NUMBER
public static final int ISSUER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
MD5_FIELD_NUMBER
public static final int MD5_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NOT_AFTER_FIELD_NUMBER
public static final int NOT_AFTER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NOT_BEFORE_FIELD_NUMBER
public static final int NOT_BEFORE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SERIAL_FIELD_NUMBER
public static final int SERIAL_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SHA1_FIELD_NUMBER
public static final int SHA1_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SHA256_FIELD_NUMBER
public static final int SHA256_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SUBJECT_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Certificate getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Certificate.Builder newBuilder()
newBuilder(Certificate prototype)
public static Certificate.Builder newBuilder(Certificate prototype)
parseDelimitedFrom(InputStream input)
public static Certificate parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Certificate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Certificate parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Certificate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Certificate parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Certificate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Certificate parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Certificate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Certificate parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Certificate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Certificate parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Certificate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Certificate> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Certificate getDefaultInstanceForType()
getIssuer()
public String getIssuer()
Issuer of the certificate.
string issuer = 4;
| Returns |
| Type |
Description |
String |
The issuer.
|
getIssuerBytes()
public ByteString getIssuerBytes()
Issuer of the certificate.
string issuer = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for issuer.
|
getMd5()
The MD5 hash of the certificate, as a hex-encoded string.
string md5 = 5;
| Returns |
| Type |
Description |
String |
The md5.
|
getMd5Bytes()
public ByteString getMd5Bytes()
The MD5 hash of the certificate, as a hex-encoded string.
string md5 = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for md5.
|
getNotAfter()
public Timestamp getNotAfter()
Indicates when the certificate is no longer valid.
.google.protobuf.Timestamp not_after = 9;
| Returns |
| Type |
Description |
Timestamp |
The notAfter.
|
getNotAfterOrBuilder()
public TimestampOrBuilder getNotAfterOrBuilder()
Indicates when the certificate is no longer valid.
.google.protobuf.Timestamp not_after = 9;
getNotBefore()
public Timestamp getNotBefore()
Indicates when the certificate is first valid.
.google.protobuf.Timestamp not_before = 8;
| Returns |
| Type |
Description |
Timestamp |
The notBefore.
|
getNotBeforeOrBuilder()
public TimestampOrBuilder getNotBeforeOrBuilder()
Indicates when the certificate is first valid.
.google.protobuf.Timestamp not_before = 8;
getParserForType()
public Parser<Certificate> getParserForType()
Overrides
getSerial()
public String getSerial()
Certificate serial number.
string serial = 2;
| Returns |
| Type |
Description |
String |
The serial.
|
getSerialBytes()
public ByteString getSerialBytes()
Certificate serial number.
string serial = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for serial.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSha1()
The SHA1 hash of the certificate, as a hex-encoded string.
string sha1 = 6;
| Returns |
| Type |
Description |
String |
The sha1.
|
getSha1Bytes()
public ByteString getSha1Bytes()
The SHA1 hash of the certificate, as a hex-encoded string.
string sha1 = 6;
| Returns |
| Type |
Description |
ByteString |
The bytes for sha1.
|
getSha256()
public String getSha256()
The SHA256 hash of the certificate, as a hex-encoded string.
string sha256 = 7;
| Returns |
| Type |
Description |
String |
The sha256.
|
getSha256Bytes()
public ByteString getSha256Bytes()
The SHA256 hash of the certificate, as a hex-encoded string.
string sha256 = 7;
| Returns |
| Type |
Description |
ByteString |
The bytes for sha256.
|
getSubject()
public String getSubject()
Subject of the certificate.
string subject = 3;
| Returns |
| Type |
Description |
String |
The subject.
|
getSubjectBytes()
public ByteString getSubjectBytes()
Subject of the certificate.
string subject = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for subject.
|
getVersion()
public String getVersion()
Certificate version.
string version = 1;
| Returns |
| Type |
Description |
String |
The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Certificate version.
string version = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for version.
|
hasNotAfter()
public boolean hasNotAfter()
Indicates when the certificate is no longer valid.
.google.protobuf.Timestamp not_after = 9;
| Returns |
| Type |
Description |
boolean |
Whether the notAfter field is set.
|
hasNotBefore()
public boolean hasNotBefore()
Indicates when the certificate is first valid.
.google.protobuf.Timestamp not_before = 8;
| Returns |
| Type |
Description |
boolean |
Whether the notBefore field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Certificate.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Certificate.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Certificate.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides