public final class EcdsaPrivateKey extends com.google.protobuf.GeneratedMessageLite<EcdsaPrivateKey,EcdsaPrivateKey.Builder> implements EcdsaPrivateKeyOrBuilder
key_type: type.googleapis.com/google.crypto.tink.EcdsaPrivateKeyProtobuf type
google.crypto.tink.EcdsaPrivateKey| Modifier and Type | Class and Description |
|---|---|
static class |
EcdsaPrivateKey.Builder
key_type: type.googleapis.com/google.crypto.tink.EcdsaPrivateKey
|
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 |
KEY_VALUE_FIELD_NUMBER |
static int |
PUBLIC_KEY_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
Object arg0,
Object arg1) |
static EcdsaPrivateKey |
getDefaultInstance() |
com.google.protobuf.ByteString |
getKeyValue()
Unsigned big integer in bigendian representation.
|
EcdsaPublicKey |
getPublicKey()
Required.
|
int |
getVersion()
Required.
|
boolean |
hasPublicKey()
Required.
|
static EcdsaPrivateKey.Builder |
newBuilder() |
static EcdsaPrivateKey.Builder |
newBuilder(EcdsaPrivateKey prototype) |
static EcdsaPrivateKey |
parseDelimitedFrom(InputStream input) |
static EcdsaPrivateKey |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EcdsaPrivateKey |
parseFrom(byte[] data) |
static EcdsaPrivateKey |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EcdsaPrivateKey |
parseFrom(ByteBuffer data) |
static EcdsaPrivateKey |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EcdsaPrivateKey |
parseFrom(com.google.protobuf.ByteString data) |
static EcdsaPrivateKey |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EcdsaPrivateKey |
parseFrom(com.google.protobuf.CodedInputStream input) |
static EcdsaPrivateKey |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static EcdsaPrivateKey |
parseFrom(InputStream input) |
static EcdsaPrivateKey |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<EcdsaPrivateKey> |
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 PUBLIC_KEY_FIELD_NUMBER
public static final int KEY_VALUE_FIELD_NUMBER
public int getVersion()
Required.
uint32 version = 1;getVersion in interface EcdsaPrivateKeyOrBuilderpublic boolean hasPublicKey()
Required.
.google.crypto.tink.EcdsaPublicKey public_key = 2;hasPublicKey in interface EcdsaPrivateKeyOrBuilderpublic EcdsaPublicKey getPublicKey()
Required.
.google.crypto.tink.EcdsaPublicKey public_key = 2;getPublicKey in interface EcdsaPrivateKeyOrBuilderpublic com.google.protobuf.ByteString getKeyValue()
Unsigned big integer in bigendian representation. Required.
bytes key_value = 3;getKeyValue in interface EcdsaPrivateKeyOrBuilderpublic static EcdsaPrivateKey parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EcdsaPrivateKey parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EcdsaPrivateKey parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EcdsaPrivateKey parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EcdsaPrivateKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EcdsaPrivateKey parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static EcdsaPrivateKey parseFrom(InputStream input) throws IOException
IOExceptionpublic static EcdsaPrivateKey parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EcdsaPrivateKey parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static EcdsaPrivateKey parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EcdsaPrivateKey parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static EcdsaPrivateKey parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static EcdsaPrivateKey.Builder newBuilder()
public static EcdsaPrivateKey.Builder newBuilder(EcdsaPrivateKey prototype)
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
dynamicMethod in class com.google.protobuf.GeneratedMessageLite<EcdsaPrivateKey,EcdsaPrivateKey.Builder>public static EcdsaPrivateKey getDefaultInstance()
public static com.google.protobuf.Parser<EcdsaPrivateKey> parser()