Package org.jose4j.jwk
Class OctetKeyPairJsonWebKey
java.lang.Object
org.jose4j.jwk.JsonWebKey
org.jose4j.jwk.PublicJsonWebKey
org.jose4j.jwk.OctetKeyPairJsonWebKey
- 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 Stringstatic final Stringstatic final Stringstatic final 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
ConstructorsConstructorDescriptionOctetKeyPairJsonWebKey(PublicKey publicKey) OctetKeyPairJsonWebKey(Map<String, Object> params) OctetKeyPairJsonWebKey(Map<String, Object> params, String jcaProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfillPrivateTypeSpecificParams(Map<String, Object> params) protected voidfillPublicTypeSpecificParams(Map<String, Object> params) protected StringMethods inherited from class org.jose4j.jwk.PublicJsonWebKey
fillTypeSpecificParams, getCertificateChain, getLeafCertificate, getPrivateKey, getPublicKey, getX509CertificateSha1Thumbprint, getX509CertificateSha1Thumbprint, getX509CertificateSha256Thumbprint, getX509CertificateSha256Thumbprint, getX509Url, 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:
-
SUBTYPE_MEMBER_NAME
- See Also:
-
PUBLIC_KEY_MEMBER_NAME
- See Also:
-
PRIVATE_KEY_MEMBER_NAME
- See Also:
-
SUBTYPE_ED25519
- See Also:
-
SUBTYPE_ED448
- See Also:
-
SUBTYPE_X25519
- See Also:
-
SUBTYPE_X448
- See Also:
-
-
Constructor Details
-
OctetKeyPairJsonWebKey
-
OctetKeyPairJsonWebKey
- Throws:
JoseException
-
OctetKeyPairJsonWebKey
- Throws:
JoseException
-
-
Method Details
-
getKeyType
- Specified by:
getKeyTypein classJsonWebKey
-
getSubtype
-
produceThumbprintHashInput
- Specified by:
produceThumbprintHashInputin classJsonWebKey
-
fillPublicTypeSpecificParams
- Specified by:
fillPublicTypeSpecificParamsin classPublicJsonWebKey
-
fillPrivateTypeSpecificParams
- Specified by:
fillPrivateTypeSpecificParamsin classPublicJsonWebKey
-