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

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for signatureAlgorithm.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.EcKeyType.Builder newBuilderForType()
Returns
TypeDescription
CaPool.IssuancePolicy.AllowedKeyType.EcKeyType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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