public static final class EcdsaPublicKey.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<EcdsaPublicKey,EcdsaPublicKey.Builder> implements EcdsaPublicKeyOrBuilder
key_type: type.googleapis.com/google.crypto.tink.EcdsaPublicKeyProtobuf type
google.crypto.tink.EcdsaPublicKey| Modifier and Type | Method and Description |
|---|---|
EcdsaPublicKey.Builder |
clearParams()
Required.
|
EcdsaPublicKey.Builder |
clearVersion()
Required.
|
EcdsaPublicKey.Builder |
clearX()
Affine coordinates of the public key in bigendian representation.
|
EcdsaPublicKey.Builder |
clearY()
Required.
|
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.
|
EcdsaPublicKey.Builder |
mergeParams(EcdsaParams value)
Required.
|
EcdsaPublicKey.Builder |
setParams(EcdsaParams.Builder builderForValue)
Required.
|
EcdsaPublicKey.Builder |
setParams(EcdsaParams value)
Required.
|
EcdsaPublicKey.Builder |
setVersion(int value)
Required.
|
EcdsaPublicKey.Builder |
setX(com.google.protobuf.ByteString value)
Affine coordinates of the public key in bigendian representation.
|
EcdsaPublicKey.Builder |
setY(com.google.protobuf.ByteString value)
Required.
|
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionpublic int getVersion()
Required.
uint32 version = 1;getVersion in interface EcdsaPublicKeyOrBuilderpublic EcdsaPublicKey.Builder setVersion(int value)
Required.
uint32 version = 1;value - The version to set.public EcdsaPublicKey.Builder clearVersion()
Required.
uint32 version = 1;public 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 EcdsaPublicKey.Builder setParams(EcdsaParams value)
Required.
.google.crypto.tink.EcdsaParams params = 2;public EcdsaPublicKey.Builder setParams(EcdsaParams.Builder builderForValue)
Required.
.google.crypto.tink.EcdsaParams params = 2;public EcdsaPublicKey.Builder mergeParams(EcdsaParams value)
Required.
.google.crypto.tink.EcdsaParams params = 2;public EcdsaPublicKey.Builder clearParams()
Required.
.google.crypto.tink.EcdsaParams params = 2;public 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 EcdsaPublicKey.Builder setX(com.google.protobuf.ByteString value)
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;value - The x to set.public EcdsaPublicKey.Builder clearX()
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;public com.google.protobuf.ByteString getY()
Required.
bytes y = 4;getY in interface EcdsaPublicKeyOrBuilderpublic EcdsaPublicKey.Builder setY(com.google.protobuf.ByteString value)
Required.
bytes y = 4;value - The y to set.public EcdsaPublicKey.Builder clearY()
Required.
bytes y = 4;