public final class X509 extends GeneratedMessage implements X509OrBuilderFile certificate.
Protobuf type google.backstory.X509
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > X509Implements
X509OrBuilderStatic Fields
ALGORITHM_FIELD_NUMBER
public static final int ALGORITHM_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CERT_ISSUER_FIELD_NUMBER
public static final int CERT_ISSUER_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
SERIAL_NUMBER_FIELD_NUMBER
public static final int SERIAL_NUMBER_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
THUMBPRINT_FIELD_NUMBER
public static final int THUMBPRINT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static X509 getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
X509 |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static X509.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
X509.Builder |
|
newBuilder(X509 prototype)
public static X509.Builder newBuilder(X509 prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
X509 |
| Returns | |
|---|---|
| Type | Description |
X509.Builder |
|
parseDelimitedFrom(InputStream input)
public static X509 parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
X509 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static X509 parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
X509 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static X509 parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
X509 |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static X509 parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
X509 |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static X509 parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
X509 |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static X509 parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
X509 |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static X509 parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
X509 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static X509 parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
X509 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static X509 parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
X509 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static X509 parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
X509 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static X509 parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
X509 |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static X509 parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
X509 |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<X509> parser()| Returns | |
|---|---|
| Type | Description |
Parser<X509> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAlgorithm()
public String getAlgorithm()Certificate algorithm.
string algorithm = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The algorithm. |
getAlgorithmBytes()
public ByteString getAlgorithmBytes()Certificate algorithm.
string algorithm = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for algorithm. |
getCertIssuer()
public String getCertIssuer()Issuer of the certificate.
string cert_issuer = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The certIssuer. |
getCertIssuerBytes()
public ByteString getCertIssuerBytes()Issuer of the certificate.
string cert_issuer = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for certIssuer. |
getDefaultInstanceForType()
public X509 getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
X509 |
|
getName()
public String getName()Certificate name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Certificate name.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getParserForType()
public Parser<X509> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<X509> |
|
getSerialNumber()
public String getSerialNumber()Certificate serial number.
string serial_number = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The serialNumber. |
getSerialNumberBytes()
public ByteString getSerialNumberBytes()Certificate serial number.
string serial_number = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serialNumber. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getThumbprint()
public String getThumbprint()Certificate thumbprint.
string thumbprint = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The thumbprint. |
getThumbprintBytes()
public ByteString getThumbprintBytes()Certificate thumbprint.
string thumbprint = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for thumbprint. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public X509.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
X509.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected X509.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
X509.Builder |
|
toBuilder()
public X509.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
X509.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|