Google Certificate Authority Service V1 Client - Class AllowedKeyType (1.4.2)

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 \ IssuancePolicy

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Security\PrivateCA\V1\CaPool\IssuancePolicy\AllowedKeyType\RsaKeyType|null

hasRsa

setRsa

Represents an allowed RSA key type.

Parameter
NameDescription
var Google\Cloud\Security\PrivateCA\V1\CaPool\IssuancePolicy\AllowedKeyType\RsaKeyType
Returns
TypeDescription
$this

getEllipticCurve

Represents an allowed Elliptic Curve key type.

Returns
TypeDescription
Google\Cloud\Security\PrivateCA\V1\CaPool\IssuancePolicy\AllowedKeyType\EcKeyType|null

hasEllipticCurve

setEllipticCurve

Represents an allowed Elliptic Curve key type.

Parameter
NameDescription
var Google\Cloud\Security\PrivateCA\V1\CaPool\IssuancePolicy\AllowedKeyType\EcKeyType
Returns
TypeDescription
$this

getKeyType

Returns
TypeDescription
string