public static interface ImportJob.WrappingPublicKeyOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getData()
public abstract ByteString getData()Output only. Contains the public key, formatted according to the PublicKey.PublicKeyFormat specified in the KeyManagementService.GetImportJob request.
bytes data = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The data. |
getPem()
public abstract String getPem()The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info. This field gets populated by default for RSA-based import methods, if no public_key_format is specified in the request. If you want to retrieve the wrapping key of an ImportJob in some other format, use KeyManagementService.GetImportJob and set the public_key_format to the desired public key format.
string pem = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The pem. |
getPemBytes()
public abstract ByteString getPemBytes()The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info. This field gets populated by default for RSA-based import methods, if no public_key_format is specified in the request. If you want to retrieve the wrapping key of an ImportJob in some other format, use KeyManagementService.GetImportJob and set the public_key_format to the desired public key format.
string pem = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pem. |