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 \ AllowedKeyTypeMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |