Class OctetKeyPairGenerator


  • public class OctetKeyPairGenerator
    extends JWKGenerator<OctetKeyPair>
    Octet Key Pair (OKP) JSON Web Key (JWK) generator.

    Supported curves:

    Version:
    2023-01-02
    Author:
    Tim McLean
    • Field Detail

      • SUPPORTED_CURVES

        public static final java.util.Set<Curve> SUPPORTED_CURVES
        The supported values for the "crv" property.
    • Constructor Detail

      • OctetKeyPairGenerator

        public OctetKeyPairGenerator​(Curve crv)
        Creates a new OctetKeyPair JWK generator.
        Parameters:
        crv - The curve. Must not be null.