SstEcJwk
This is the Elliptic Curve Json Web Keys (JWK)
Class Methods
fromPKey:
Answer a JWK representation of the EC PKey
Arguments:
aPKey - <OSSslECKey>
Answers:
<SstJwk>
fromX509Cert:
Answer a JWK representation of the anX509Cert
Arguments:
aPKey - <OSSslX509>
Answers:
<SstJwk>
Instance Methods
asPKey
Answer the Cryptography PKey version of this JWK
Note that JWK metadata outside of key parameters
are not transferred
Answers:
<OSSslECKey>
asPublicKey
Answer a copy of this JWK with all private and sensitive parameters removed
Answers:
<SstJwk>
curve
Returns the cryptographic curve.
Answers:
<String> base64url format
curve:
Set the cryptographic curve.
Arguments:
aValue - <String> base64url format
d
Gets the private 'd' coordinate for the elliptic curve point.
Answers:
<String> base64url format
d:
Set the private 'd' coordinate for the elliptic curve point.
Arguments:
aValue - <String> base64url format
isPrivateKey
Answers true if this JWK contains private parameters, false otherwise
Answers:
<Boolean>
x
Answers the public 'x' coordinate for the elliptic curve point.
Answers:
<String> base64url format
x:
Set the public 'x' coordinate for the elliptic curve point.
Arguments:
aValue - <String> base64url format
y
Answers the public 'y' coordinate for the elliptic curve point.
Answers:
<String> - base64url format
y:
Set the public 'y' coordinate for the elliptic curve point.
Arguments:
aValue - <String> base64url format
Last modified date: 01/09/2026