Interface CertificateRawDataOrBuilder (2.49.0)

public interface CertificateRawDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPrivateKey()

public abstract 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 abstract 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 abstract 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 abstract 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.