public final class EcdsaPublicKey extends com.google.protobuf.GeneratedMessageLite<EcdsaPublicKey,EcdsaPublicKey.Builder> implements EcdsaPublicKeyOrBuilder
key_type: type.googleapis.com/google.crypto.tink.EcdsaPublicKeyProtobuf type
google.crypto.tink.EcdsaPublicKey| Modifier and Type | Class and Description |
|---|---|
static class |
EcdsaPublicKey.Builder
key_type: type.googleapis.com/google.crypto.tink.EcdsaPublicKey
|
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm| Modifier and Type | Field and Description |
|---|---|
static int |
PARAMS_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
static int |
X_FIELD_NUMBER |
static int |
Y_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static EcdsaPublicKey |
getDefaultInstance() |
EcdsaParams |
getParams()
Required.
|
int |
getVersion()
Required.
|
com.google.protobuf.ByteString |
getX()
Affine coordinates of the public key in bigendian representation.
|
com.google.protobuf.ByteString |
getY()
Required.
|
boolean |
hasParams()
Required.
|
static EcdsaPublicKey.Builder |
newBuilder() |
static EcdsaPublicKey.Builder |
newBuilder(EcdsaPublicKey prototype) |
static EcdsaPublicKey |
parseDelimitedFrom(InputStream input) |
static EcdsaPublicKey |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EcdsaPublicKey |
parseFrom(byte[] data) |
static EcdsaPublicKey |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EcdsaPublicKey |
parseFrom(ByteBuffer data) |
static EcdsaPublicKey |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EcdsaPublicKey |
parseFrom(com.google.protobuf.ByteString data) |
static EcdsaPublicKey |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EcdsaPublicKey |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EcdsaPublicKey |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EcdsaPublicKey |
parseFrom(InputStream input) |
static EcdsaPublicKey |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EcdsaPublicKey> |
parser() |
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int VERSION_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER
public static final int X_FIELD_NUMBER
public static final int Y_FIELD_NUMBER
public int getVersion()
Required.
uint32 version = 1;getVersion in interface EcdsaPublicKeyOrBuilderpublic boolean hasParams()
Required.
.google.crypto.tink.EcdsaParams params = 2;hasParams in interface EcdsaPublicKeyOrBuilderpublic EcdsaParams getParams()
Required.
.google.crypto.tink.EcdsaParams params = 2;getParams in interface EcdsaPublicKeyOrBuilderpublic com.google.protobuf.ByteString getX()
Affine coordinates of the public key in bigendian representation. The public key is a point (x, y) on the curve defined by params.curve. For ECDH, it is crucial to verify whether the public key point (x, y) is on the private's key curve. For ECDSA, such verification is a defense in depth. Required.
bytes x = 3;getX in interface EcdsaPublicKeyOrBuilderpublic com.google.protobuf.ByteString getY()
Required.
bytes y = 4;getY in interface EcdsaPublicKeyOrBuilderpublic static EcdsaPublicKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EcdsaPublicKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EcdsaPublicKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EcdsaPublicKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EcdsaPublicKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EcdsaPublicKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EcdsaPublicKey parseFrom(InputStream input) throws IOException
IOExceptionpublic static EcdsaPublicKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EcdsaPublicKey parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EcdsaPublicKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EcdsaPublicKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EcdsaPublicKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EcdsaPublicKey.Builder newBuilder()
public static EcdsaPublicKey.Builder newBuilder(EcdsaPublicKey prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<EcdsaPublicKey,EcdsaPublicKey.Builder>public static EcdsaPublicKey getDefaultInstance()
public static com.google.protobuf.Parser<EcdsaPublicKey> parser()