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