public static final class CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType extends GeneratedMessageV3 implements CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeOrBuilder
Describes an RSA key that may be used in a
Certificate issued
from a CaPool.
Protobuf type
google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Static Fields
MAX_MODULUS_SIZE_FIELD_NUMBER
public static final int MAX_MODULUS_SIZE_FIELD_NUMBER
Field Value
MIN_MODULUS_SIZE_FIELD_NUMBER
public static final int MIN_MODULUS_SIZE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder newBuilder()
Returns
newBuilder(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType prototype)
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder newBuilder(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType prototype)
Parameter
Returns
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getDefaultInstanceForType()
Returns
getMaxModulusSize()
public long 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.
int64 max_modulus_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
long | The maxModulusSize.
|
getMinModulusSize()
public long 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.
int64 min_modulus_size = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
long | The minModulusSize.
|
getParserForType()
public Parser<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions