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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ rsa |
Google\Cloud\Security\PrivateCA\V1\CaPool\IssuancePolicy\AllowedKeyType\RsaKeyType
Represents an allowed RSA key type. |
↳ elliptic_curve |
Google\Cloud\Security\PrivateCA\V1\CaPool\IssuancePolicy\AllowedKeyType\EcKeyType
Represents an allowed Elliptic Curve key type. |
getRsa
Represents an allowed RSA key type.
Returns | |
---|---|
Type | Description |
Google\Cloud\Security\PrivateCA\V1\CaPool\IssuancePolicy\AllowedKeyType\RsaKeyType|null |
hasRsa
setRsa
Represents an allowed RSA key type.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Security\PrivateCA\V1\CaPool\IssuancePolicy\AllowedKeyType\RsaKeyType
|
Returns | |
---|---|
Type | Description |
$this |
getEllipticCurve
Represents an allowed Elliptic Curve key type.
Returns | |
---|---|
Type | Description |
Google\Cloud\Security\PrivateCA\V1\CaPool\IssuancePolicy\AllowedKeyType\EcKeyType|null |
hasEllipticCurve
setEllipticCurve
Represents an allowed Elliptic Curve key type.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Security\PrivateCA\V1\CaPool\IssuancePolicy\AllowedKeyType\EcKeyType
|
Returns | |
---|---|
Type | Description |
$this |
getKeyType
Returns | |
---|---|
Type | Description |
string |