Package org.jose4j.jwk
Class EllipticCurveJsonWebKey
java.lang.Object
org.jose4j.jwk.JsonWebKey
org.jose4j.jwk.PublicJsonWebKey
org.jose4j.jwk.EllipticCurveJsonWebKey
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jose4j.jwk.PublicJsonWebKey
PublicJsonWebKey.FactoryNested classes/interfaces inherited from class org.jose4j.jwk.JsonWebKey
JsonWebKey.OutputControlLevel -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprivate Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.jose4j.jwk.PublicJsonWebKey
jcaProvider, privateKey, writeOutPrivateKeyToJson, X509_CERTIFICATE_CHAIN_PARAMETER, X509_SHA256_THUMBPRINT_PARAMETER, X509_THUMBPRINT_PARAMETER, X509_URL_PARAMETERFields inherited from class org.jose4j.jwk.JsonWebKey
ALGORITHM_PARAMETER, key, KEY_ID_PARAMETER, KEY_OPERATIONS, KEY_TYPE_PARAMETER, otherParameters, USE_PARAMETER -
Constructor Summary
ConstructorsConstructorDescriptionEllipticCurveJsonWebKey(ECPublicKey publicKey) EllipticCurveJsonWebKey(Map<String, Object> params) EllipticCurveJsonWebKey(Map<String, Object> params, String jcaProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfillPrivateTypeSpecificParams(Map<String, Object> params) protected voidfillPublicTypeSpecificParams(Map<String, Object> params) private intprotected StringMethods inherited from class org.jose4j.jwk.PublicJsonWebKey
checkForBareKeyCertMismatch, fillTypeSpecificParams, getBigIntFromBase64UrlEncodedParam, getCertificateChain, getLeafCertificate, getPrivateKey, getPublicKey, getX509CertificateSha1Thumbprint, getX509CertificateSha1Thumbprint, getX509CertificateSha256Thumbprint, getX509CertificateSha256Thumbprint, getX509Url, putBigIntAsBase64UrlEncodedParam, putBigIntAsBase64UrlEncodedParam, setCertificateChain, setCertificateChain, setPrivateKey, setWriteOutPrivateKeyToJson, setX509CertificateSha1Thumbprint, setX509CertificateSha256Thumbprint, setX509UrlMethods inherited from class org.jose4j.jwk.JsonWebKey
calculateBase64urlEncodedThumbprint, calculateThumbprint, calculateThumbprintUri, getAlgorithm, getKey, getKeyId, getKeyOps, getOtherParameterValue, getString, getString, getStringRequired, getUse, putIfNotNull, removeFromOtherParams, setAlgorithm, setKeyId, setKeyOps, setOtherParameter, setUse, toJson, toJson, toParams, toString
-
Field Details
-
KEY_TYPE
- See Also:
-
CURVE_MEMBER_NAME
- See Also:
-
X_MEMBER_NAME
- See Also:
-
Y_MEMBER_NAME
- See Also:
-
PRIVATE_KEY_MEMBER_NAME
- See Also:
-
curveName
-
-
Constructor Details
-
EllipticCurveJsonWebKey
-
EllipticCurveJsonWebKey
- Throws:
JoseException
-
EllipticCurveJsonWebKey
- Throws:
JoseException
-
-
Method Details
-
getECPublicKey
-
getEcPrivateKey
-
getKeyType
- Specified by:
getKeyTypein classJsonWebKey
-
getCurveName
-
getCoordinateByteLength
private int getCoordinateByteLength() -
fillPublicTypeSpecificParams
- Specified by:
fillPublicTypeSpecificParamsin classPublicJsonWebKey
-
fillPrivateTypeSpecificParams
- Specified by:
fillPrivateTypeSpecificParamsin classPublicJsonWebKey
-
produceThumbprintHashInput
- Specified by:
produceThumbprintHashInputin classJsonWebKey
-