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 by ECPublicKey, and they are intended for use with algorithms based on RFC 8032 such as the EdDSA Signature algorithm.

    An Edwards-Curve public key is a point on the curve, which is represented using an EdECPoint.

    • Field Summary

      • Fields inherited from interface java.security.PublicKey

        serialVersionUID
    • 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.

© Portions Copyright 2003, 2023 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2023 Oracle and/or its affiliates. All rights reserved.