Class CaPool.IssuancePolicy.AllowedKeyType (2.35.0)

public static final class CaPool.IssuancePolicy.AllowedKeyType extends GeneratedMessageV3 implements CaPool.IssuancePolicy.AllowedKeyTypeOrBuilder

Describes a "type" of key that may be used in a Certificate issued from a CaPool. Note that a single AllowedKeyType may refer to either a fully-qualified key algorithm, such as RSA 4096, or a family of key algorithms, such as any RSA key.

Protobuf type google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType

Inheritance

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

Static Fields

ELLIPTIC_CURVE_FIELD_NUMBER

public static final int ELLIPTIC_CURVE_FIELD_NUMBER
Field Value
TypeDescription
int

RSA_FIELD_NUMBER

public static final int RSA_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

public static CaPool.IssuancePolicy.AllowedKeyType.Builder newBuilder()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.Builder

newBuilder(CaPool.IssuancePolicy.AllowedKeyType prototype)

public static CaPool.IssuancePolicy.AllowedKeyType.Builder newBuilder(CaPool.IssuancePolicy.AllowedKeyType prototype)
Parameter
NameDescription
prototypeCaPool.IssuancePolicy.AllowedKeyType
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CaPool.IssuancePolicy.AllowedKeyType getDefaultInstanceForType()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType

getEllipticCurve()

public CaPool.IssuancePolicy.AllowedKeyType.EcKeyType getEllipticCurve()

Represents an allowed Elliptic Curve key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;

Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.EcKeyType

The ellipticCurve.

getEllipticCurveOrBuilder()

public CaPool.IssuancePolicy.AllowedKeyType.EcKeyTypeOrBuilder getEllipticCurveOrBuilder()

Represents an allowed Elliptic Curve key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;

Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.EcKeyTypeOrBuilder

getKeyTypeCase()

public CaPool.IssuancePolicy.AllowedKeyType.KeyTypeCase getKeyTypeCase()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.KeyTypeCase

getParserForType()

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

getRsa()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType getRsa()

Represents an allowed RSA key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;

Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType

The rsa.

getRsaOrBuilder()

public CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeOrBuilder getRsaOrBuilder()

Represents an allowed RSA key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;

Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.RsaKeyTypeOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasEllipticCurve()

public boolean hasEllipticCurve()

Represents an allowed Elliptic Curve key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType elliptic_curve = 2;

Returns
TypeDescription
boolean

Whether the ellipticCurve field is set.

hasRsa()

public boolean hasRsa()

Represents an allowed RSA key type.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;

Returns
TypeDescription
boolean

Whether the rsa field is set.

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.Builder newBuilderForType()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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