Reference documentation and code samples for the Google Certificate Authority Service V1beta1 Client class PublicKey.
A PublicKey describes a public key.
Generated from protobuf message google.cloud.security.privateca.v1beta1.PublicKey
Namespace
Google \ Cloud \ Security \ PrivateCA \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
int
Required. The type of public key. |
↳ key |
string
Required. A public key. Padding and encoding varies by 'KeyType' and is described along with the KeyType values. |
getType
Required. The type of public key.
Returns | |
---|---|
Type | Description |
int |
setType
Required. The type of public key.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getKey
Required. A public key. Padding and encoding varies by 'KeyType' and is described along with the KeyType values.
Returns | |
---|---|
Type | Description |
string |
setKey
Required. A public key. Padding and encoding varies by 'KeyType' and is described along with the KeyType values.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |