public static final class SSLCertificate.Extension extends GeneratedMessage implements SSLCertificate.ExtensionOrBuilder
Certificate's extensions.
Protobuf type google.backstory.SSLCertificate.Extension
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
AUTHORITY_KEY_ID_FIELD_NUMBER
public static final int AUTHORITY_KEY_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CA_FIELD_NUMBER
public static final int CA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CA_INFO_ACCESS_FIELD_NUMBER
public static final int CA_INFO_ACCESS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CERTIFICATE_POLICIES_FIELD_NUMBER
public static final int CERTIFICATE_POLICIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CERT_TEMPLATE_NAME_DC_FIELD_NUMBER
public static final int CERT_TEMPLATE_NAME_DC_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CRL_DISTRIBUTION_POINTS_FIELD_NUMBER
public static final int CRL_DISTRIBUTION_POINTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXTENDED_KEY_USAGE_FIELD_NUMBER
public static final int EXTENDED_KEY_USAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
KEY_USAGE_FIELD_NUMBER
public static final int KEY_USAGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NETSCAPE_CERTIFICATE_FIELD_NUMBER
public static final int NETSCAPE_CERTIFICATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int NETSCAPE_CERT_COMMENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OLD_AUTHORITY_KEY_ID_FIELD_NUMBER
public static final int OLD_AUTHORITY_KEY_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PE_LOGOTYPE_FIELD_NUMBER
public static final int PE_LOGOTYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SUBJECT_ALTERNATIVE_NAME_FIELD_NUMBER
public static final int SUBJECT_ALTERNATIVE_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SUBJECT_KEY_ID_FIELD_NUMBER
public static final int SUBJECT_KEY_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SSLCertificate.Extension getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SSLCertificate.Extension.Builder newBuilder()
newBuilder(SSLCertificate.Extension prototype)
public static SSLCertificate.Extension.Builder newBuilder(SSLCertificate.Extension prototype)
parseDelimitedFrom(InputStream input)
public static SSLCertificate.Extension parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SSLCertificate.Extension parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SSLCertificate.Extension parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SSLCertificate.Extension parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SSLCertificate.Extension parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SSLCertificate.Extension parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static SSLCertificate.Extension parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SSLCertificate.Extension parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static SSLCertificate.Extension parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SSLCertificate.Extension parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SSLCertificate.Extension parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SSLCertificate.Extension parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SSLCertificate.Extension> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAuthorityKeyId()
public SSLCertificate.AuthorityKeyId getAuthorityKeyId()
Identifies the public key to be used to verify the signature on this
certificate or CRL.
.google.backstory.SSLCertificate.AuthorityKeyId authority_key_id = 3;
getAuthorityKeyIdOrBuilder()
public SSLCertificate.AuthorityKeyIdOrBuilder getAuthorityKeyIdOrBuilder()
Identifies the public key to be used to verify the signature on this
certificate or CRL.
.google.backstory.SSLCertificate.AuthorityKeyId authority_key_id = 3;
getCa()
Whether the subject acts as a certificate authority (CA) or not.
bool ca = 1;
| Returns |
| Type |
Description |
boolean |
The ca.
|
getCaInfoAccess()
public String getCaInfoAccess()
Authority information access locations are URLs that are added to a
certificate in its authority information access extension.
string ca_info_access = 7;
| Returns |
| Type |
Description |
String |
The caInfoAccess.
|
getCaInfoAccessBytes()
public ByteString getCaInfoAccessBytes()
Authority information access locations are URLs that are added to a
certificate in its authority information access extension.
string ca_info_access = 7;
| Returns |
| Type |
Description |
ByteString |
The bytes for caInfoAccess.
|
getCertTemplateNameDc()
public String getCertTemplateNameDc()
BMP data value "DomainController". See MS Q291010.
string cert_template_name_dc = 13;
| Returns |
| Type |
Description |
String |
The certTemplateNameDc.
|
getCertTemplateNameDcBytes()
public ByteString getCertTemplateNameDcBytes()
BMP data value "DomainController". See MS Q291010.
string cert_template_name_dc = 13;
| Returns |
| Type |
Description |
ByteString |
The bytes for certTemplateNameDc.
|
getCertificatePolicies()
public String getCertificatePolicies()
Different certificate policies will relate to different applications
which may use the certified key.
string certificate_policies = 11;
| Returns |
| Type |
Description |
String |
The certificatePolicies.
|
getCertificatePoliciesBytes()
public ByteString getCertificatePoliciesBytes()
Different certificate policies will relate to different applications
which may use the certified key.
string certificate_policies = 11;
| Returns |
| Type |
Description |
ByteString |
The bytes for certificatePolicies.
|
getCrlDistributionPoints()
public String getCrlDistributionPoints()
CRL distribution points to which a certificate user should refer to
ascertain if the certificate has been revoked.
string crl_distribution_points = 8;
| Returns |
| Type |
Description |
String |
The crlDistributionPoints.
|
getCrlDistributionPointsBytes()
public ByteString getCrlDistributionPointsBytes()
CRL distribution points to which a certificate user should refer to
ascertain if the certificate has been revoked.
string crl_distribution_points = 8;
| Returns |
| Type |
Description |
ByteString |
The bytes for crlDistributionPoints.
|
getDefaultInstanceForType()
public SSLCertificate.Extension getDefaultInstanceForType()
getExtendedKeyUsage()
public String getExtendedKeyUsage()
One or more purposes for which the certified public key may be used, in
addition to or in place of the basic purposes indicated in the key usage
extension field.
string extended_key_usage = 9;
| Returns |
| Type |
Description |
String |
The extendedKeyUsage.
|
getExtendedKeyUsageBytes()
public ByteString getExtendedKeyUsageBytes()
One or more purposes for which the certified public key may be used, in
addition to or in place of the basic purposes indicated in the key usage
extension field.
string extended_key_usage = 9;
| Returns |
| Type |
Description |
ByteString |
The bytes for extendedKeyUsage.
|
getKeyUsage()
public String getKeyUsage()
The purpose for which the certified public key is used.
string key_usage = 6;
| Returns |
| Type |
Description |
String |
The keyUsage.
|
getKeyUsageBytes()
public ByteString getKeyUsageBytes()
The purpose for which the certified public key is used.
string key_usage = 6;
| Returns |
| Type |
Description |
ByteString |
The bytes for keyUsage.
|
public String getNetscapeCertComment()
Used to include free-form text comments inside certificates.
string netscape_cert_comment = 12;
| Returns |
| Type |
Description |
String |
The netscapeCertComment.
|
public ByteString getNetscapeCertCommentBytes()
Used to include free-form text comments inside certificates.
string netscape_cert_comment = 12;
| Returns |
| Type |
Description |
ByteString |
The bytes for netscapeCertComment.
|
getNetscapeCertificate()
public boolean getNetscapeCertificate()
Identify whether the certificate subject is an SSL client, an SSL server,
or a CA.
bool netscape_certificate = 14;
| Returns |
| Type |
Description |
boolean |
The netscapeCertificate.
|
getOldAuthorityKeyId()
public boolean getOldAuthorityKeyId()
Whether the certificate has an old authority key identifier extension.
bool old_authority_key_id = 16;
| Returns |
| Type |
Description |
boolean |
The oldAuthorityKeyId.
|
getParserForType()
public Parser<SSLCertificate.Extension> getParserForType()
Overrides
getPeLogotype()
public boolean getPeLogotype()
Whether the certificate includes a logotype.
bool pe_logotype = 15;
| Returns |
| Type |
Description |
boolean |
The peLogotype.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSubjectAlternativeName()
public String getSubjectAlternativeName()
Contains one or more alternative names, using any of a variety of name
forms, for the entity that is bound by the CA to the certified public
key.
string subject_alternative_name = 10;
| Returns |
| Type |
Description |
String |
The subjectAlternativeName.
|
getSubjectAlternativeNameBytes()
public ByteString getSubjectAlternativeNameBytes()
Contains one or more alternative names, using any of a variety of name
forms, for the entity that is bound by the CA to the certified public
key.
string subject_alternative_name = 10;
| Returns |
| Type |
Description |
ByteString |
The bytes for subjectAlternativeName.
|
getSubjectKeyId()
public String getSubjectKeyId()
Identifies the public key being certified.
string subject_key_id = 2;
| Returns |
| Type |
Description |
String |
The subjectKeyId.
|
getSubjectKeyIdBytes()
public ByteString getSubjectKeyIdBytes()
Identifies the public key being certified.
string subject_key_id = 2;
| Returns |
| Type |
Description |
ByteString |
The bytes for subjectKeyId.
|
hasAuthorityKeyId()
public boolean hasAuthorityKeyId()
Identifies the public key to be used to verify the signature on this
certificate or CRL.
.google.backstory.SSLCertificate.AuthorityKeyId authority_key_id = 3;
| Returns |
| Type |
Description |
boolean |
Whether the authorityKeyId field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SSLCertificate.Extension.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SSLCertificate.Extension.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SSLCertificate.Extension.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides