Uses of Class
org.jose4j.lang.JoseException
Packages that use JoseException
Package
Description
-
Uses of JoseException in org.jose4j.json
Methods in org.jose4j.json that throw JoseException -
Uses of JoseException in org.jose4j.jwe
Methods in org.jose4j.jwe that throw JoseExceptionModifier and TypeMethodDescriptionbyte[]AesCbcHmacSha2ContentEncryptionAlgorithm.decrypt(ContentEncryptionParts contentEncryptionParts, byte[] aad, byte[] contentEncryptionKey, Headers headers, ProviderContext providerContext) byte[]AesGcmContentEncryptionAlgorithm.decrypt(ContentEncryptionParts contentEncParts, byte[] aad, byte[] contentEncryptionKey, Headers headers, ProviderContext providerContext) byte[]ContentEncryptionAlgorithm.decrypt(ContentEncryptionParts contentEncryptionParts, byte[] aad, byte[] contentEncryptionKey, Headers headers, ProviderContext providerContext) byte[]byte[]SimpleAeadCipher.decrypt(Key key, byte[] iv, byte[] ciphertext, byte[] tag, byte[] aad, String provider) protected KeyPbes2HmacShaWithAesKeyWrapAlgorithm.deriveForEncrypt(Key managementKey, Headers headers, ProviderContext providerContext) AesCbcHmacSha2ContentEncryptionAlgorithm.encrypt(byte[] plaintext, byte[] aad, byte[] contentEncryptionKey, Headers headers, byte[] ivOverride, ProviderContext providerContext) AesGcmContentEncryptionAlgorithm.encrypt(byte[] plaintext, byte[] aad, byte[] contentEncryptionKey, byte[] iv, String provider) AesGcmContentEncryptionAlgorithm.encrypt(byte[] plaintext, byte[] aad, byte[] contentEncryptionKey, Headers headers, byte[] ivOverride, ProviderContext providerContext) ContentEncryptionAlgorithm.encrypt(byte[] plaintext, byte[] aad, byte[] contentEncryptionKey, Headers headers, byte[] ivOverride, ProviderContext providerContext) JsonWebEncryption.getCompactSerialization()SimpleAeadCipher.getInitialisedCipher(Key key, byte[] iv, int mode, String provider) JsonWebEncryption.getPayload()byte[]JsonWebEncryption.getPlaintextBytes()JsonWebEncryption.getPlaintextString()AesGcmKeyEncryptionAlgorithm.manageForDecrypt(CryptoPrimitive cryptoPrimitive, byte[] encryptedKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, ProviderContext providerContext) DirectKeyManagementAlgorithm.manageForDecrypt(CryptoPrimitive cryptoPrimitive, byte[] encryptedKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, ProviderContext providerContext) EcdhKeyAgreementAlgorithm.manageForDecrypt(CryptoPrimitive cryptoPrimitive, byte[] encryptedKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, ProviderContext providerContext) EcdhKeyAgreementWithAesKeyWrapAlgorithm.manageForDecrypt(CryptoPrimitive cryptoPrimitive, byte[] encryptedKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, ProviderContext providerContext) KeyManagementAlgorithm.manageForDecrypt(CryptoPrimitive cryptoPrimitive, byte[] encryptedKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, ProviderContext providerContext) Pbes2HmacShaWithAesKeyWrapAlgorithm.manageForDecrypt(CryptoPrimitive cryptoPrimitive, byte[] encryptedKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, ProviderContext providerContext) WrappingKeyManagementAlgorithm.manageForDecrypt(CryptoPrimitive cryptoPrimitive, byte[] encryptedKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, ProviderContext providerContext) protected ContentEncryptionKeysWrappingKeyManagementAlgorithm.manageForEnc(Key managementKey, ContentEncryptionKeyDescriptor cekDesc, byte[] contentEncryptionKey, ProviderContext providerContext) AesGcmKeyEncryptionAlgorithm.manageForEncrypt(Key managementKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, byte[] cekOverride, ProviderContext providerContext) DirectKeyManagementAlgorithm.manageForEncrypt(Key managementKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, byte[] cekOverride, ProviderContext providerContext) EcdhKeyAgreementAlgorithm.manageForEncrypt(Key managementKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, byte[] cekOverride, ProviderContext providerContext) EcdhKeyAgreementWithAesKeyWrapAlgorithm.manageForEncrypt(Key managementKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, byte[] cekOverride, ProviderContext providerContext) KeyManagementAlgorithm.manageForEncrypt(Key managementKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, byte[] cekOverride, ProviderContext providerContext) Pbes2HmacShaWithAesKeyWrapAlgorithm.manageForEncrypt(Key managementKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, byte[] cekOverride, ProviderContext providerContext) WrappingKeyManagementAlgorithm.manageForEncrypt(Key managementKey, ContentEncryptionKeyDescriptor cekDesc, Headers headers, byte[] cekOverride, ProviderContext providerContext) JsonWebEncryption.prepareDecryptingPrimitive()Create, initialize and return theCryptoPrimitivethat this JWE instance will use for agreement or decryption of the content encryption key.AesGcmKeyEncryptionAlgorithm.prepareForDecrypt(Key managementKey, Headers headers, ProviderContext providerContext) EcdhKeyAgreementAlgorithm.prepareForDecrypt(Key managementKey, Headers headers, ProviderContext providerContext) EcdhKeyAgreementWithAesKeyWrapAlgorithm.prepareForDecrypt(Key managementKey, Headers headers, ProviderContext providerContext) KeyManagementAlgorithm.prepareForDecrypt(Key managementKey, Headers headers, ProviderContext providerContext) Pbes2HmacShaWithAesKeyWrapAlgorithm.prepareForDecrypt(Key managementKey, Headers headers, ProviderContext providerContext) WrappingKeyManagementAlgorithm.prepareForDecrypt(Key managementKey, Headers headers, ProviderContext providerContext) protected voidJsonWebEncryption.setCompactSerializationParts(String[] parts) -
Uses of JoseException in org.jose4j.jwe.kdf
Methods in org.jose4j.jwe.kdf that throw JoseException -
Uses of JoseException in org.jose4j.jwk
Methods in org.jose4j.jwk that throw JoseExceptionModifier and TypeMethodDescriptionstatic EllipticCurveJsonWebKeyEcJwkGenerator.generateJwk(ECParameterSpec spec) static EllipticCurveJsonWebKeyEcJwkGenerator.generateJwk(ECParameterSpec spec, String provider, SecureRandom secureRandom) static OctetKeyPairJsonWebKeyOkpJwkGenerator.generateJwk(String subtype) static OctetKeyPairJsonWebKeyOkpJwkGenerator.generateJwk(String subtype, String provider, SecureRandom secureRandom) static RsaJsonWebKeyRsaJwkGenerator.generateJwk(int bits) static RsaJsonWebKeyRsaJwkGenerator.generateJwk(int bits, String provider, SecureRandom secureRandom) HttpsJwks.getJsonWebKeys()Gets the JSON Web Keys from the JWKS endpoint location or from local cache, if appropriate.protected static Stringprotected static Stringprotected static StringJsonWebKey.getStringRequired(Map<String, Object> params, String name) static JsonWebKeystatic JsonWebKeystatic JsonWebKeystatic PublicJsonWebKeyPublicJsonWebKey.Factory.newPublicJwk(String json) static PublicJsonWebKeyPublicJsonWebKey.Factory.newPublicJwk(String json, String jcaProvider) static PublicJsonWebKeyPublicJsonWebKey.Factory.newPublicJwk(Key publicKey) static PublicJsonWebKeyPublicJsonWebKey.Factory.newPublicJwk(Map<String, Object> params) static PublicJsonWebKeyPublicJsonWebKey.Factory.newPublicJwk(Map<String, Object> params, String jcaProvider) voidHttpsJwks.refresh()Forces a refresh of the cached JWKs from the JWKS endpoint.DecryptionJwkSelector.select(JsonWebEncryption jwe, Collection<JsonWebKey> keys) VerificationJwkSelector.select(JsonWebSignature jws, Collection<JsonWebKey> keys) DecryptionJwkSelector.selectList(JsonWebEncryption jwe, Collection<JsonWebKey> keys) VerificationJwkSelector.selectList(JsonWebSignature jws, Collection<JsonWebKey> keys) VerificationJwkSelector.selectWithVerifySignatureDisambiguate(JsonWebSignature jws, Collection<JsonWebKey> keys) Constructors in org.jose4j.jwk that throw JoseExceptionModifierConstructorDescriptionEllipticCurveJsonWebKey(Map<String, Object> params) EllipticCurveJsonWebKey(Map<String, Object> params, String jcaProvider) protectedJsonWebKey(Map<String, Object> params) JsonWebKeySet(String json) OctetKeyPairJsonWebKey(Map<String, Object> params) OctetKeyPairJsonWebKey(Map<String, Object> params, String jcaProvider) OctetSequenceJsonWebKey(Map<String, Object> params) protectedPublicJsonWebKey(Map<String, Object> params) protectedPublicJsonWebKey(Map<String, Object> params, String jcaProvider) RsaJsonWebKey(Map<String, Object> params) RsaJsonWebKey(Map<String, Object> params, String jcaProvider) -
Uses of JoseException in org.jose4j.jws
Methods in org.jose4j.jws that throw JoseExceptionModifier and TypeMethodDescriptionJsonWebSignature.getCompactSerialization()Sign and produce the JWS Compact Serialization.JsonWebSignature.getDetachedContentCompactSerialization()Produces the compact serialization with an empty/detached payload as described in Appendix F, Detached Content, of the JWS spec though providing library support rather than making the application do it all as described therein.JsonWebSignature.getPayload()Gets the JWS payload as a string.byte[]JsonWebSignature.getPayloadBytes()Get the JWS payload.BaseSignatureAlgorithm.prepareForSign(Key key, ProviderContext providerContext) HmacUsingShaAlgorithm.prepareForSign(Key key, ProviderContext providerContext) JsonWebSignatureAlgorithm.prepareForSign(Key key, ProviderContext providerContext) UnsecuredNoneAlgorithm.prepareForSign(Key key, ProviderContext providerContext) JsonWebSignature.prepareSigningPrimitive()Create, initialize (using the key andProviderContext) and return theCryptoPrimitivethat this JWS instance will use for signing.protected voidJsonWebSignature.setCompactSerializationParts(String[] parts) byte[]BaseSignatureAlgorithm.sign(CryptoPrimitive cryptoPrimitive, byte[] securedInputBytes) byte[]EcdsaUsingShaAlgorithm.sign(CryptoPrimitive cryptoPrimitive, byte[] securedInputBytes) byte[]HmacUsingShaAlgorithm.sign(CryptoPrimitive cryptoPrimitive, byte[] securedInputBytes) voidJsonWebSignature.sign()Compute the JWS signature.byte[]JsonWebSignatureAlgorithm.sign(CryptoPrimitive cryptoPrimitive, byte[] securedInputBytes) booleanBaseSignatureAlgorithm.verifySignature(byte[] signatureBytes, Key key, byte[] securedInputBytes, ProviderContext providerContext) booleanEcdsaUsingShaAlgorithm.verifySignature(byte[] signatureBytes, Key key, byte[] securedInputBytes, ProviderContext providerContext) booleanHmacUsingShaAlgorithm.verifySignature(byte[] signatureBytes, Key key, byte[] securedInputBytes, ProviderContext providerContext) booleanJsonWebSignature.verifySignature()Verify the signature of the JWS.booleanJsonWebSignatureAlgorithm.verifySignature(byte[] signatureBytes, Key key, byte[] securedInputBytes, ProviderContext providerContext) booleanUnsecuredNoneAlgorithm.verifySignature(byte[] signatureBytes, Key key, byte[] securedInputBytes, ProviderContext providerContext) -
Uses of JoseException in org.jose4j.jwx
Methods in org.jose4j.jwx that throw JoseExceptionModifier and TypeMethodDescriptionprotected voidJsonWebStructure.checkCrit()protected voidJsonWebStructure.checkNotEmptyPart(String encodedPart, String partName) static JsonWebStructureJsonWebStructure.fromCompactSerialization(String cs) JsonWebStructure.getCertificateChainHeaderValue()abstract StringJsonWebStructure.getCompactSerialization()JsonWebStructure.getJwkHeader()Gets the "jwk" (JSON Web Key) Header Parameter per https://tools.ietf.org/html/rfc7515#section-4.1.3 and/or https://tools.ietf.org/html/rfc7516#section-4.1.5Headers.getJwkHeaderValue(String name) Deprecated.JsonWebStructure.getLeafCertificateHeaderValue()abstract StringJsonWebStructure.getPayload()Headers.getPublicJwkHeaderValue(String name, String jcaProvider) static StringDeprecated.please use CompactSerializervoidJsonWebStructure.setCompactSerialization(String compactSerialization) protected abstract voidJsonWebStructure.setCompactSerializationParts(String[] parts) protected voidJsonWebStructure.setEncodedHeader(String encodedHeader) voidHeaders.setFullHeaderAsJsonString(String header) -
Uses of JoseException in org.jose4j.keys
Methods in org.jose4j.keys that throw JoseExceptionModifier and TypeMethodDescriptionX509Util.fromBase64Der(String b64EncodedDer) EcKeyUtil.generateKeyPair(ECParameterSpec spec) OctetKeyPairUtil.generateKeyPair(String name) RsaKeyUtil.generateKeyPair(int bits) RsaKeyUtil.getRsaPrivateKey(RSAPrivateKeySpec keySpec) static X509UtilX509Util.getX509Util(String jcaProvider) EcKeyUtil.privateKey(BigInteger d, ECParameterSpec spec) EdDsaKeyUtil.privateKey(byte[] privateKeyBytes, String name) abstract PrivateKeyOctetKeyPairUtil.privateKey(byte[] privateKeyBytes, String name) RsaKeyUtil.privateKey(BigInteger modulus, BigInteger privateExponent) RsaKeyUtil.privateKey(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient) XDHKeyUtil.privateKey(byte[] privateKeyBytes, String name) EcKeyUtil.publicKey(BigInteger x, BigInteger y, ECParameterSpec spec) abstract PublicKeyRsaKeyUtil.publicKey(BigInteger modulus, BigInteger publicExponent) -
Uses of JoseException in org.jose4j.keys.resolvers
Methods in org.jose4j.keys.resolvers that throw JoseExceptionModifier and TypeMethodDescriptionprotected JsonWebKeyHttpsJwksVerificationKeyResolver.select(JsonWebSignature jws, List<JsonWebKey> jsonWebKeys) -
Uses of JoseException in org.jose4j.lang
Subclasses of JoseException in org.jose4j.langModifier and TypeClassDescriptionclassclassclassclassMethods in org.jose4j.lang that throw JoseException -
Uses of JoseException in org.jose4j.mac
Methods in org.jose4j.mac that throw JoseException -
Uses of JoseException in org.jose4j.zip
Methods in org.jose4j.zip that throw JoseExceptionModifier and TypeMethodDescriptionbyte[]CompressionAlgorithm.decompress(byte[] compressedData) byte[]DeflateRFC1951CompressionAlgorithm.decompress(byte[] compressedData)