Reference documentation and code samples for the Google Certificate Authority Service V1 Client class AllowedKeyType.
Describes a "type" of key that may be used in a Certificate issued from a CaPool. Note that a single AllowedKeyType may refer to either a fully-qualified key algorithm, such as RSA 4096, or a family of key algorithms, such as any RSA key.
Generated from protobuf message google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType
Namespace
Google \ Cloud \ Security \ PrivateCA \ V1 \ CaPool \ IssuancePolicyMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ rsa |
AllowedKeyType\RsaKeyType
Represents an allowed RSA key type. |
↳ elliptic_curve |
AllowedKeyType\EcKeyType
Represents an allowed Elliptic Curve key type. |
getRsa
Represents an allowed RSA key type.
Returns | |
---|---|
Type | Description |
AllowedKeyType\RsaKeyType|null |
hasRsa
setRsa
Represents an allowed RSA key type.
Parameter | |
---|---|
Name | Description |
var |
AllowedKeyType\RsaKeyType
|
Returns | |
---|---|
Type | Description |
$this |
getEllipticCurve
Represents an allowed Elliptic Curve key type.
Returns | |
---|---|
Type | Description |
AllowedKeyType\EcKeyType|null |
hasEllipticCurve
setEllipticCurve
Represents an allowed Elliptic Curve key type.
Parameter | |
---|---|
Name | Description |
var |
AllowedKeyType\EcKeyType
|
Returns | |
---|---|
Type | Description |
$this |
getKeyType
Returns | |
---|---|
Type | Description |
string |