com.google.crypto.tink.proto.EcdsaPublicKeyOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/ecdsa.proto
package com.google.crypto.tink.proto;
public interface EcdsaPublicKeyOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.crypto.tink.EcdsaPublicKey)
com.google.protobuf.MessageLiteOrBuilder {
/**
*
* Required.
*
*
* uint32 version = 1;
* @return The version.
*/
int getVersion();
/**
*
* Required.
*
*
* .google.crypto.tink.EcdsaParams params = 2;
* @return Whether the params field is set.
*/
boolean hasParams();
/**
*
* Required.
*
*
* .google.crypto.tink.EcdsaParams params = 2;
* @return The params.
*/
com.google.crypto.tink.proto.EcdsaParams getParams();
/**
*
* 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;
* @return The x.
*/
com.google.protobuf.ByteString getX();
/**
*
* Required.
*
*
* bytes y = 4;
* @return The y.
*/
com.google.protobuf.ByteString getY();
}