ibm.security.internal.interfaces
Interface EdECPublicKey
-
- All Superinterfaces:
- java.security.Key, java.security.PublicKey, java.io.Serializable
public interface EdECPublicKey extends java.security.PublicKey
An interface for an elliptic curve public key as defined by RFC 8032: Edwards-Curve Digital Signature Algorithm (EdDSA). These keys are distinct from the keys represented byECPublicKey
, and they are intended for use with algorithms based on RFC 8032 such as the EdDSASignature
algorithm.An Edwards-Curve public key is a point on the curve, which is represented using an EdECPoint.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description byte[]
getEncodedPoint()
Returns the bytes associated with the key.NamedParameterSpec
getParams()
Returns the algorithm parameters associated with the key.EdECPoint
getPoint()
Get the point representing the public key.
-
-
-
Method Detail
-
getPoint
EdECPoint getPoint()
Get the point representing the public key.- Returns:
- The
EdECPoint
representing the public key.
-
getParams
NamedParameterSpec getParams()
Returns the algorithm parameters associated with the key.- Returns:
- The associated algorithm parameters.
-
getEncodedPoint
byte[] getEncodedPoint()
Returns the bytes associated with the key.- Returns:
- The key bytes.
-
-