Interface ECJWKBuilder<A extends ECJWK,B extends ECJWKBuilder<A,B>>

Type Parameters:
A - the Elliptic curve JWK type
B - the Elliptic curve JWK builder type
All Superinterfaces:
JWKBuilder<A,B>, X509JWKBuilder<ECPublicKey,ECPrivateKey,A,B>

public interface ECJWKBuilder<A extends ECJWK,B extends ECJWKBuilder<A,B>> extends X509JWKBuilder<ECPublicKey,ECPrivateKey,A,B>

An Elliptic curve JSON Web Key builder.

Since:
1.5
Author:
Jeremy Kuhn
  • Method Details

    • curve

      B curve(String crv)

      Specifies the Elliptic curve JWA name.

      Parameters:
      crv - the JWA Elliptic curve name
      Returns:
      this builder
    • xCoordinate

      B xCoordinate(String x)

      Specifies the X coordinate encoded as Base64URL.

      Parameters:
      x - the Base64URL encoded X coordinate with no padding
      Returns:
      this builder
    • yCoordinate

      B yCoordinate(String y)

      Specifies the Y coordinate encoded as Base64URL.

      Parameters:
      y - the Base64URL encoded Y coordinate with no padding
      Returns:
      this builder
    • eccPrivateKey

      B eccPrivateKey(String d)

      Specifies the ECC private key encoded as Base64URL.

      Parameters:
      d - the Base64URL encoded ECC private key with no padding
      Returns:
      this builder