Class CaPool.IssuancePolicy.AllowedKeyType.EcKeyType (2.46.0)

public static final class CaPool.IssuancePolicy.AllowedKeyType.EcKeyType extends GeneratedMessageV3 implements CaPool.IssuancePolicy.AllowedKeyType.EcKeyTypeOrBuilder

Describes an Elliptic Curve key that may be used in a Certificate issued from a CaPool.

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

Inheritance

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

Static Fields

SIGNATURE_ALGORITHM_FIELD_NUMBER

public static final int SIGNATURE_ALGORITHM_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(CaPool.IssuancePolicy.AllowedKeyType.EcKeyType prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

public Parser<CaPool.IssuancePolicy.AllowedKeyType.EcKeyType> getParserForType()
Returns
Type Description
Parser<EcKeyType>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSignatureAlgorithm()

public CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.EcSignatureAlgorithm getSignatureAlgorithm()

Optional. A signature algorithm that must be used. If this is omitted, any EC-based signature algorithm will be allowed.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.EcSignatureAlgorithm signature_algorithm = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.EcSignatureAlgorithm

The signatureAlgorithm.

getSignatureAlgorithmValue()

public int getSignatureAlgorithmValue()

Optional. A signature algorithm that must be used. If this is omitted, any EC-based signature algorithm will be allowed.

.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.EcSignatureAlgorithm signature_algorithm = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for signatureAlgorithm.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.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.EcKeyType.Builder toBuilder()
Returns
Type Description
CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.Builder

writeTo(CodedOutputStream output)

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