ibm.security.internal.interfaces
Interface EdECPublicKey
-
- All Superinterfaces:
- java.security.Key, java.security.PublicKey, java.io.Serializable
public interface EdECPublicKey extends java.security.PublicKeyAn 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 EdDSASignaturealgorithm.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.NamedParameterSpecgetParams()Returns the algorithm parameters associated with the key.EdECPointgetPoint()Get the point representing the public key.
-
-
-
Method Detail
-
getPoint
EdECPoint getPoint()
Get the point representing the public key.- Returns:
- The
EdECPointrepresenting 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.
-
-