CryptoUtils

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,196 of 1,1960%108 of 1080%1221222962966868
processBytes(byte[], Key, KeyProperties, int)1550%400%2121282811
initCipher(Key, KeyProperties, int)940%200%1111212111
getSecretKey(KeyProperties)500%80%55161611
getRSAPrivateKey(byte[], byte[], byte[], byte[], byte[], byte[], byte[], byte[])480%n/a11121211
loadPrivateKey(KeyStore, char[], String)450%60%44111111
addToResult(byte[], byte[])360%60%448811
getECPublicKey(String, byte[], byte[])320%n/a118811
convertJCECipherToSecretKeyName(String)280%100%66101011
loadCertificate(KeyStore, String)270%40%337711
getSignature(PrivateKey, String, SecureRandom, AlgorithmParameterSpec)260%40%339911
getECPrivateKey(String, byte[])250%n/a117711
generateECKeyPair(String)250%n/a117711
getRSAPrivateKey(byte[], byte[])240%n/a116611
getRSAPrivateKey(String, String, String, String, String, String, String, String)240%n/a11101011
decryptSequence(String, Key, KeyProperties)200%n/a115511
getVerificationSignature(PublicKey, String, AlgorithmParameterSpec)190%20%227711
loadKeyStore(InputStream, char[], String)190%20%225511
signData(byte[], PrivateKey, String, SecureRandom, AlgorithmParameterSpec)180%n/a115511
verifySignature(byte[], byte[], PublicKey, String, AlgorithmParameterSpec)180%n/a115511
wrapSecretKey(byte[], String, Key, KeyProperties)180%n/a116611
unwrapKey(byte[], String, Key, KeyProperties, int)170%n/a114411
decodeCertificate(String)170%n/a114411
getContentEncryptionCipherSpec(int, byte[])160%40%335511
encryptSequence(String, Key, KeyProperties)160%n/a114411
getRSAPublicKey(KeyFactory, BigInteger, BigInteger)150%n/a113311
getECParameterSpec(String, boolean)150%20%223311
wrapSecretKey(Key, Key, KeyProperties)150%n/a114411
getECPublicKey(String, String, String)130%n/a115511
generateSecureRandomBytes(int)120%n/a114411
getRSAPublicKey(String, String)120%n/a114411
getRSAPublicKey(byte[], byte[])120%n/a113311
getRSAPublicKey(BigInteger, BigInteger)120%n/a113311
getRSAPrivateKey(String, String)120%n/a114411
decryptSecretKey(String, String, PrivateKey)120%n/a112211
encryptSecretKey(SecretKey, PublicKey)110%n/a112211
getRSAPublicKey(KeyFactory, byte[], byte[])110%n/a113311
getECPrivateKey(String, String)110%n/a113311
decryptSequence(String, String, KeyProperties)100%n/a112211
encodeCertificate(Certificate)100%n/a113311
loadPrivateKey(InputStream, char[], char[], String, String)100%n/a112211
encodeBytes(byte[])90%n/a113311
unwrapSecretKey(byte[], String, Key, String)90%n/a111111
decryptSecretKey(String, String, KeyProperties, PrivateKey)90%n/a112211
decodeSequence(String)90%n/a113311
loadCertificate(InputStream, char[], String, String)90%n/a112211
encryptSecretKey(SecretKey, PublicKey, KeyProperties)80%n/a112211
decryptSequence(String, String)80%n/a111111
unwrapSecretKey(byte[], String, Key, KeyProperties)80%n/a111111
signData(byte[], PrivateKey, String)70%n/a111111
verifySignature(byte[], byte[], PublicKey, String)70%n/a111111
getSecretKey(String, int)70%n/a111111
decodeSecretKey(String, String)70%n/a112211
createSecretKeySpec(String, String)70%n/a111111
createSecretKeySpec(byte[], String)70%n/a111111
loadPublicKey(InputStream, char[], String, String)70%n/a111111
toBigInteger(byte[])60%n/a111111
getGCMParameterSpec(int, byte[])60%n/a111111
getSecretKey(String)60%n/a111111
encryptBytes(byte[], Key, KeyProperties)60%n/a111111
decryptBytes(byte[], Key, KeyProperties)60%n/a111111
decryptSequence(String, Key)50%n/a111111
encryptSequence(String, Key)50%n/a111111
encryptBytes(byte[], Key)50%n/a111111
decryptBytes(byte[], Key)50%n/a111111
decryptSecretKey(String, PrivateKey)50%n/a111111
loadPublicKey(KeyStore, String)50%n/a111111
encodeSecretKey(SecretKey)40%n/a111111
decodeSecretKey(String)40%n/a111111