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
Static Fields
ELLIPTIC_CURVE_FIELD_NUMBER
public static final int ELLIPTIC_CURVE_FIELD_NUMBER
Field Value
RSA_FIELD_NUMBER
public static final int RSA_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CaPool.IssuancePolicy.AllowedKeyType getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CaPool.IssuancePolicy.AllowedKeyType.Builder newBuilder()
Returns
newBuilder(CaPool.IssuancePolicy.AllowedKeyType prototype)
public static CaPool.IssuancePolicy.AllowedKeyType.Builder newBuilder(CaPool.IssuancePolicy.AllowedKeyType prototype)
Parameter
Returns
public static CaPool.IssuancePolicy.AllowedKeyType parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CaPool.IssuancePolicy.AllowedKeyType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CaPool.IssuancePolicy.AllowedKeyType parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CaPool.IssuancePolicy.AllowedKeyType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CaPool.IssuancePolicy.AllowedKeyType parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CaPool.IssuancePolicy.AllowedKeyType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CaPool.IssuancePolicy.AllowedKeyType parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CaPool.IssuancePolicy.AllowedKeyType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CaPool.IssuancePolicy.AllowedKeyType parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CaPool.IssuancePolicy.AllowedKeyType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CaPool.IssuancePolicy.AllowedKeyType parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CaPool.IssuancePolicy.AllowedKeyType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CaPool.IssuancePolicy.AllowedKeyType> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CaPool.IssuancePolicy.AllowedKeyType getDefaultInstanceForType()
Returns
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
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
getKeyTypeCase()
public CaPool.IssuancePolicy.AllowedKeyType.KeyTypeCase getKeyTypeCase()
Returns
getParserForType()
public Parser<CaPool.IssuancePolicy.AllowedKeyType> getParserForType()
Returns
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Type | Description |
boolean | Whether the ellipticCurve field is set.
|
hasRsa()
Represents an allowed RSA key type.
.google.cloud.security.privateca.v1.CaPool.IssuancePolicy.AllowedKeyType.RsaKeyType rsa = 1;
Returns
Type | Description |
boolean | Whether the rsa field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CaPool.IssuancePolicy.AllowedKeyType.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CaPool.IssuancePolicy.AllowedKeyType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CaPool.IssuancePolicy.AllowedKeyType.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions