Class SignerInfo (0.3.0)

public final class SignerInfo extends GeneratedMessage implements SignerInfoOrBuilder

File metadata related to the signer information.

Protobuf type google.backstory.SignerInfo

Implements

SignerInfoOrBuilder

Static Fields

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

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

VALID_USAGE_FIELD_NUMBER

public static final int VALID_USAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SignerInfo getDefaultInstance()
Returns
Type Description
SignerInfo

getDescriptor()

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

newBuilder()

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

newBuilder(SignerInfo prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCertIssuer()

public String getCertIssuer()

Company that issued the certificate.

optional string cert_issuer = 4;

Returns
Type Description
String

The certIssuer.

getCertIssuerBytes()

public ByteString getCertIssuerBytes()

Company that issued the certificate.

optional string cert_issuer = 4;

Returns
Type Description
ByteString

The bytes for certIssuer.

getDefaultInstanceForType()

public SignerInfo getDefaultInstanceForType()
Returns
Type Description
SignerInfo

getName()

public String getName()

Common name of the signers/certificate. The order of the signers matters. Each element is a higher level authority, the last being the root authority.

optional string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Common name of the signers/certificate. The order of the signers matters. Each element is a higher level authority, the last being the root authority.

optional string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatus()

public String getStatus()

It can say "Valid" or state the problem with the certificate if any (e.g. "This certificate or one of the certificates in the certificate chain is not time valid.").

optional string status = 2;

Returns
Type Description
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

It can say "Valid" or state the problem with the certificate if any (e.g. "This certificate or one of the certificates in the certificate chain is not time valid.").

optional string status = 2;

Returns
Type Description
ByteString

The bytes for status.

getValidUsage()

public String getValidUsage()

Indicates which situations the certificate is valid for (e.g. "Code Signing").

optional string valid_usage = 3;

Returns
Type Description
String

The validUsage.

getValidUsageBytes()

public ByteString getValidUsageBytes()

Indicates which situations the certificate is valid for (e.g. "Code Signing").

optional string valid_usage = 3;

Returns
Type Description
ByteString

The bytes for validUsage.

hasCertIssuer()

public boolean hasCertIssuer()

Company that issued the certificate.

optional string cert_issuer = 4;

Returns
Type Description
boolean

Whether the certIssuer field is set.

hasName()

public boolean hasName()

Common name of the signers/certificate. The order of the signers matters. Each element is a higher level authority, the last being the root authority.

optional string name = 1;

Returns
Type Description
boolean

Whether the name field is set.

hasStatus()

public boolean hasStatus()

It can say "Valid" or state the problem with the certificate if any (e.g. "This certificate or one of the certificates in the certificate chain is not time valid.").

optional string status = 2;

Returns
Type Description
boolean

Whether the status field is set.

hasValidUsage()

public boolean hasValidUsage()

Indicates which situations the certificate is valid for (e.g. "Code Signing").

optional string valid_usage = 3;

Returns
Type Description
boolean

Whether the validUsage field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected SignerInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SignerInfo.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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