JweUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,130 of 2,1300%278 of 2780%2372375015019898
loadDecryptionProvider(Properties, JweHeaders)2400%400%2121646411
loadKeyEncryptionProvider(Properties, Message, JweHeaders)2030%380%2020545411
calculateDerivedKey(byte[], String, byte[], byte[], int)1360%100%66222211
getECDHKey(ECPrivateKey, ECPublicKey, byte[], byte[], String, int)1040%140%88191911
createJweEncryptionProvider(JsonWebKey, JweHeaders, ContentEncryptionProvider)710%120%77171711
getKeyEncryptionProvider(JsonWebKey, KeyAlgorithm)680%120%77171711
loadEncryptionProvider(Properties, Message, JweHeaders)600%80%55131311
createJweEncryptionProvider(JsonWebKey, JweHeaders, boolean)560%60%44111111
getPublicKeyEncryptionProvider(PublicKey, Properties, KeyAlgorithm)540%120%77141411
getKeyDecryptionProvider(JsonWebKey, KeyAlgorithm)370%60%449911
createJweEncryptionProvider(KeyEncryptionProvider, ContentEncryptionProvider, ContentAlgorithm, String, JweHeaders)370%80%558811
getAdditionalAuthenticationData(String, byte[])340%20%227711
getPrivateKeyDecryptionProvider(PrivateKey, KeyAlgorithm)320%60%447711
getEcDirectKeyJweEncryption(JsonWebKey, ContentAlgorithm)270%40%337711
loadPublicKeyEncryptionKeys(Message, Properties)260%20%226611
concatenateDatalenAndData(byte[])250%n/a115511
prepareJweHeaders(String, String, String, JweHeaders)250%60%447711
getContentEncryptionProvider(byte[], ContentAlgorithm)240%40%335511
getDirectKeyJweEncryption(byte[], ContentAlgorithm)240%20%224411
getDirectKeyJweDecryption(byte[], ContentAlgorithm)230%20%224411
generateKeyZ(ECPrivateKey, ECPublicKey)230%n/a117711
getSecretKeyEncryptionAlgorithm(SecretKey, KeyAlgorithm)220%40%335511
getSecretKeyDecryptionProvider(SecretKey, KeyAlgorithm)220%40%335511
getContentEncryptionProvider(JsonWebKey, ContentAlgorithm)220%40%336611
getContentDecryptionSecretKey(JsonWebKey, String)220%60%445511
createJweEncryptionProvider(KeyEncryptionProvider, JweHeaders, boolean)220%20%225511
createJweDecryptionProvider(KeyDecryptionProvider, SecretKey, ContentAlgorithm)220%60%446611
checkEncryptionKeySize(Key)220%40%334411
getEcdhDirectContentEncryptionProvider(JsonWebKey, JweHeaders)210%20%226611
loadEncryptionInProperties(boolean)210%40%336611
loadEncryptionOutProperties(boolean)210%40%336611
encrypt(SecretKey, KeyAlgorithm, ContentAlgorithm, byte[], String)180%20%224411
getEcDirectKeyJweDecryption(JsonWebKey, ContentAlgorithm)180%20%224411
getKeyEncryptionAlgorithm(Message, Properties, KeyAlgorithm)180%40%333311
createJweEncryptionProvider(KeyEncryptionProvider, ContentAlgorithm, String)170%20%223311
createJweDecryptionProvider(KeyDecryptionProvider, ContentAlgorithm)170%20%224411
decrypt(SecretKey, KeyAlgorithm, ContentAlgorithm, String)160%20%224411
getContentEncryptionProvider(ContentAlgorithm, boolean)160%20%223311
getDirectKeyJweEncryption(JsonWebKey)150%20%223311
getDirectKeyJweDecryption(JsonWebKey)150%20%223311
getDefaultKeyAlgorithm(JsonWebKey)150%40%336611
loadJweProperties(Message, String)150%n/a114411
getContentEncryptionAlgorithm(Message, Properties, ContentAlgorithm)140%20%223311
getDefaultPublicKeyAlgorithm(PublicKey)120%40%335511
getDefaultPrivateKeyAlgorithm(PrivateKey)120%40%335511
getContentDecryptionProvider(ContentAlgorithm)110%20%223311
loadEncryptionProvider(JweHeaders, boolean)110%20%224411
loadDecryptionProvider(JweHeaders, boolean)110%20%224411
encrypt(KeyEncryptionProvider, ContentAlgorithm, byte[], String)110%n/a112211
encrypt(PublicKey, KeyAlgorithm, ContentAlgorithm, byte[], String)100%n/a112211
encryptDirect(SecretKey, ContentAlgorithm, byte[], String)100%n/a112211
getECDHKey(JsonWebKey, JsonWebKey, byte[], byte[], String, int)100%n/a112211
encrypt(JsonWebKey, ContentAlgorithm, byte[], String)90%n/a112211
encryptDirect(JsonWebKey, byte[], String)90%n/a112211
decrypt(PrivateKey, KeyAlgorithm, ContentAlgorithm, String)90%n/a112211
decryptDirect(SecretKey, ContentAlgorithm, String)90%n/a112211
createJweEncryptionProvider(PublicKey, KeyAlgorithm, ContentAlgorithm, String)90%n/a112211
createJweEncryptionProvider(PublicKey, JweHeaders)90%n/a113311
createJweEncryptionProvider(SecretKey, KeyAlgorithm, ContentAlgorithm, String)90%n/a112211
createJweEncryptionProvider(SecretKey, JweHeaders)90%n/a113311
getKeyEncryptionAlgorithm(Message, Properties, KeyAlgorithm, KeyAlgorithm)90%20%223311
getContentEncryptionAlgorithm(Message, Properties, ContentAlgorithm, ContentAlgorithm)90%20%223311
decrypt(KeyDecryptionProvider, ContentAlgorithm, String)90%n/a112211
decrypt(JsonWebKey, ContentAlgorithm, String)80%n/a112211
decryptDirect(JsonWebKey, String)80%n/a112211
createJweEncryptionProvider(JsonWebKey, ContentAlgorithm, String)80%n/a112211
datalenToBytes(int)80%n/a112211
loadEncryptionProperties(String, boolean)80%n/a112211
encrypt(PublicKey, KeyAlgorithm, ContentAlgorithm, byte[])70%n/a111111
encrypt(SecretKey, KeyAlgorithm, ContentAlgorithm, byte[])70%n/a111111
loadEncryptionProvider(Properties, JweHeaders)70%n/a112211
toJweHeaders(String)70%n/a111111
encryptDirect(SecretKey, ContentAlgorithm, byte[])60%n/a111111
loadEncryptionProvider(boolean)60%n/a111111
createJweEncryptionProvider(PublicKey, KeyAlgorithm, ContentAlgorithm)60%n/a111111
createJweEncryptionProvider(SecretKey, KeyAlgorithm, ContentAlgorithm)60%n/a111111
createJweDecryptionProvider(PrivateKey, KeyAlgorithm, ContentAlgorithm)60%n/a111111
createJweDecryptionProvider(SecretKey, KeyAlgorithm, ContentAlgorithm)60%n/a111111
getPublicKeyEncryptionProvider(PublicKey, KeyAlgorithm)50%n/a111111
getContentEncryptionProvider(SecretKey, ContentAlgorithm)50%n/a111111
getDirectKeyJweEncryption(SecretKey, ContentAlgorithm)50%n/a111111
getDirectKeyJweDecryption(SecretKey, ContentAlgorithm)50%n/a111111
createJweEncryptionProvider(JsonWebKey, ContentAlgorithm)50%n/a111111
createJweEncryptionProvider(JsonWebKey, JweHeaders)50%n/a111111
createJweEncryptionProvider(KeyEncryptionProvider, JweHeaders)50%n/a111111
createJweDecryptionProvider(JsonWebKey, ContentAlgorithm)50%n/a111111
getKeyEncryptionAlgorithm(Properties, KeyAlgorithm)50%n/a111111
getContentEncryptionAlgorithm(Properties)50%n/a111111
getContentEncryptionAlgorithm(Properties, ContentAlgorithm)50%n/a111111
getKeyEncryptionProvider(JsonWebKey)40%n/a111111
getKeyDecryptionProvider(JsonWebKey)40%n/a111111
getContentEncryptionProvider(JsonWebKey)40%n/a111111
getContentEncryptionProvider(ContentAlgorithm)40%n/a111111
getContentDecryptionSecretKey(JsonWebKey)40%n/a111111
loadDecryptionProvider(boolean)40%n/a111111
static {...}40%n/a111111
getContentAlgo(String)30%n/a111111
validateCriticalHeaders(JoseHeaders)30%n/a111111