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
PUBLIC_CERTIFICATE_FIELD_NUMBER
public static final int PUBLIC_CERTIFICATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CertificateRawData getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CertificateRawData.Builder newBuilder()
Returns
newBuilder(CertificateRawData prototype)
public static CertificateRawData.Builder newBuilder(CertificateRawData prototype)
Parameter
Returns
public static CertificateRawData parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateRawData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CertificateRawData parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CertificateRawData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CertificateRawData parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CertificateRawData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateRawData parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CertificateRawData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CertificateRawData parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CertificateRawData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CertificateRawData parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CertificateRawData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CertificateRawData> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CertificateRawData getDefaultInstanceForType()
Returns
getParserForType()
public Parser<CertificateRawData> getParserForType()
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CertificateRawData.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CertificateRawData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CertificateRawData.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions