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

Reference documentation and code samples for the Google Certificate Authority Service V1 Client class RsaKeyType.

Describes an RSA key that may be used in a Certificate issued from a CaPool.

Generated from protobuf message google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1 \ CaPool \ IssuancePolicy \ AllowedKeyType

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ min_modulus_size int|string

Optional. The minimum allowed RSA modulus size (inclusive), in bits. If this is not set, or if set to zero, the service-level min RSA modulus size will continue to apply.

↳ max_modulus_size int|string

Optional. The maximum allowed RSA modulus size (inclusive), in bits. If this is not set, or if set to zero, the service will not enforce an explicit upper bound on RSA modulus sizes.

getMinModulusSize

Optional. The minimum allowed RSA modulus size (inclusive), in bits.

If this is not set, or if set to zero, the service-level min RSA modulus size will continue to apply.

Returns
TypeDescription
int|string

setMinModulusSize

Optional. The minimum allowed RSA modulus size (inclusive), in bits.

If this is not set, or if set to zero, the service-level min RSA modulus size will continue to apply.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getMaxModulusSize

Optional. The maximum allowed RSA modulus size (inclusive), in bits.

If this is not set, or if set to zero, the service will not enforce an explicit upper bound on RSA modulus sizes.

Returns
TypeDescription
int|string

setMaxModulusSize

Optional. The maximum allowed RSA modulus size (inclusive), in bits.

If this is not set, or if set to zero, the service will not enforce an explicit upper bound on RSA modulus sizes.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this