public final class CertificateRawData extends GeneratedMessageV3 implements CertificateRawDataOrBuilder
An SSL certificate obtained from a certificate authority.
Protobuf type google.appengine.v1.CertificateRawData
Static Fields
PRIVATE_KEY_FIELD_NUMBER
public static final int PRIVATE_KEY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PUBLIC_CERTIFICATE_FIELD_NUMBER
public static final int PUBLIC_CERTIFICATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CertificateRawData getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CertificateRawData.Builder newBuilder()
newBuilder(CertificateRawData prototype)
public static CertificateRawData.Builder newBuilder(CertificateRawData prototype)
public static CertificateRawData parseDelimitedFrom(InputStream input)
public static CertificateRawData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CertificateRawData parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateRawData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CertificateRawData parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateRawData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateRawData parseFrom(CodedInputStream input)
public static CertificateRawData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CertificateRawData parseFrom(InputStream input)
public static CertificateRawData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CertificateRawData parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateRawData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CertificateRawData> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public CertificateRawData getDefaultInstanceForType()
getParserForType()
public Parser<CertificateRawData> getParserForType()
Overrides
getPrivateKey()
public String getPrivateKey()
Unencrypted PEM encoded RSA private key. This field is set once on
certificate creation and then encrypted. The key size must be 2048
bits or fewer. Must include the header and footer. Example:
<pre>
-----BEGIN RSA PRIVATE KEY-----
<unencrypted_key_value>
-----END RSA PRIVATE KEY-----
</pre>
@InputOnly
string private_key = 2;
Returns |
---|
Type | Description |
String | The privateKey.
|
getPrivateKeyBytes()
public ByteString getPrivateKeyBytes()
Unencrypted PEM encoded RSA private key. This field is set once on
certificate creation and then encrypted. The key size must be 2048
bits or fewer. Must include the header and footer. Example:
<pre>
-----BEGIN RSA PRIVATE KEY-----
<unencrypted_key_value>
-----END RSA PRIVATE KEY-----
</pre>
@InputOnly
string private_key = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for privateKey.
|
getPublicCertificate()
public String getPublicCertificate()
PEM encoded x.509 public key certificate. This field is set once on
certificate creation. Must include the header and footer. Example:
<pre>
-----BEGIN CERTIFICATE-----
<certificate_value>
-----END CERTIFICATE-----
</pre>
string public_certificate = 1;
Returns |
---|
Type | Description |
String | The publicCertificate.
|
getPublicCertificateBytes()
public ByteString getPublicCertificateBytes()
PEM encoded x.509 public key certificate. This field is set once on
certificate creation. Must include the header and footer. Example:
<pre>
-----BEGIN CERTIFICATE-----
<certificate_value>
-----END CERTIFICATE-----
</pre>
string public_certificate = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for publicCertificate.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CertificateRawData.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateRawData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CertificateRawData.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides