Class CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType (2.47.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

Static Fields

MAX_MODULUS_SIZE_FIELD_NUMBER

public static final int MAX_MODULUS_SIZE_FIELD_NUMBER
Field Value
Type Description
int

MIN_MODULUS_SIZE_FIELD_NUMBER

public static final int MIN_MODULUS_SIZE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getDefaultInstance()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder newBuilder()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

newBuilder(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType prototype)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder newBuilder(CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType prototype)
Parameter
Name Description
prototype CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

parseDelimitedFrom(InputStream input)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType> parser()
Returns
Type Description
Parser<RsaKeyType>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getDefaultInstanceForType()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

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
Type Description
Parser<RsaKeyType>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder newBuilderForType()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder toBuilder()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException