Class CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType (2.25.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
TypeDescription
int

MIN_MODULUS_SIZE_FIELD_NUMBER

public static final int MIN_MODULUS_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getDefaultInstance()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder newBuilder()
Returns
TypeDescription
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
NameDescription
prototypeCaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

parseDelimitedFrom(InputStream input)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
long

The minModulusSize.

getParserForType()

public Parser<CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType> getParserForType()
Returns
TypeDescription
Parser<RsaKeyType>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder newBuilderForType()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder toBuilder()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException