Fork me on GitHub

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.7.1

Threshold is

Effort is default

Summary

Classes Bugs Errors Missing Classes
61 28 0 0

com.healthmarketscience.jackcess.crypt.impl.office.EncryptionVerifier

Bug Category Details Line Priority
com.healthmarketscience.jackcess.crypt.impl.office.EncryptionVerifier.getEncryptedVerifier() may expose internal representation by returning EncryptionVerifier._encryptedVerifier MALICIOUS_CODE EI_EXPOSE_REP 63 Medium
com.healthmarketscience.jackcess.crypt.impl.office.EncryptionVerifier.getEncryptedVerifierHash() may expose internal representation by returning EncryptionVerifier._encryptedVerifierHash MALICIOUS_CODE EI_EXPOSE_REP 71 Medium
com.healthmarketscience.jackcess.crypt.impl.office.EncryptionVerifier.getSalt() may expose internal representation by returning EncryptionVerifier._salt MALICIOUS_CODE EI_EXPOSE_REP 59 Medium

com.healthmarketscience.jackcess.crypt.model.CTDataIntegrity

Bug Category Details Line Priority
com.healthmarketscience.jackcess.crypt.model.CTDataIntegrity.getEncryptedHmacKey() may expose internal representation by returning CTDataIntegrity.encryptedHmacKey MALICIOUS_CODE EI_EXPOSE_REP 46 Medium
com.healthmarketscience.jackcess.crypt.model.CTDataIntegrity.getEncryptedHmacValue() may expose internal representation by returning CTDataIntegrity.encryptedHmacValue MALICIOUS_CODE EI_EXPOSE_REP 68 Medium
com.healthmarketscience.jackcess.crypt.model.CTDataIntegrity.setEncryptedHmacKey(byte[]) may expose internal representation by storing an externally mutable object into CTDataIntegrity.encryptedHmacKey MALICIOUS_CODE EI_EXPOSE_REP2 57 Medium
com.healthmarketscience.jackcess.crypt.model.CTDataIntegrity.setEncryptedHmacValue(byte[]) may expose internal representation by storing an externally mutable object into CTDataIntegrity.encryptedHmacValue MALICIOUS_CODE EI_EXPOSE_REP2 79 Medium

com.healthmarketscience.jackcess.crypt.model.CTEncryption

Bug Category Details Line Priority
com.healthmarketscience.jackcess.crypt.model.CTEncryption.getDataIntegrity() may expose internal representation by returning CTEncryption.dataIntegrity MALICIOUS_CODE EI_EXPOSE_REP 79 Medium
com.healthmarketscience.jackcess.crypt.model.CTEncryption.getKeyData() may expose internal representation by returning CTEncryption.keyData MALICIOUS_CODE EI_EXPOSE_REP 55 Medium
com.healthmarketscience.jackcess.crypt.model.CTEncryption.setDataIntegrity(CTDataIntegrity) may expose internal representation by storing an externally mutable object into CTEncryption.dataIntegrity MALICIOUS_CODE EI_EXPOSE_REP2 91 Medium
com.healthmarketscience.jackcess.crypt.model.CTEncryption.setKeyData(CTKeyData) may expose internal representation by storing an externally mutable object into CTEncryption.keyData MALICIOUS_CODE EI_EXPOSE_REP2 67 Medium

com.healthmarketscience.jackcess.crypt.model.CTKeyData

Bug Category Details Line Priority
com.healthmarketscience.jackcess.crypt.model.CTKeyData.getSaltValue() may expose internal representation by returning CTKeyData.saltValue MALICIOUS_CODE EI_EXPOSE_REP 200 Medium
com.healthmarketscience.jackcess.crypt.model.CTKeyData.setSaltValue(byte[]) may expose internal representation by storing an externally mutable object into CTKeyData.saltValue MALICIOUS_CODE EI_EXPOSE_REP2 211 Medium

com.healthmarketscience.jackcess.crypt.model.CTKeyEncryptors

Bug Category Details Line Priority
com.healthmarketscience.jackcess.crypt.model.CTKeyEncryptors.getKeyEncryptor() may expose internal representation by returning CTKeyEncryptors.keyEncryptor MALICIOUS_CODE EI_EXPOSE_REP 68 Medium

com.healthmarketscience.jackcess.crypt.model.cert.CTCertificateKeyEncryptor

Bug Category Details Line Priority
com.healthmarketscience.jackcess.crypt.model.cert.CTCertificateKeyEncryptor.getCertVerifier() may expose internal representation by returning CTCertificateKeyEncryptor.certVerifier MALICIOUS_CODE EI_EXPOSE_REP 93 Medium
com.healthmarketscience.jackcess.crypt.model.cert.CTCertificateKeyEncryptor.getEncryptedKeyValue() may expose internal representation by returning CTCertificateKeyEncryptor.encryptedKeyValue MALICIOUS_CODE EI_EXPOSE_REP 49 Medium
com.healthmarketscience.jackcess.crypt.model.cert.CTCertificateKeyEncryptor.getX509Certificate() may expose internal representation by returning CTCertificateKeyEncryptor.x509Certificate MALICIOUS_CODE EI_EXPOSE_REP 71 Medium
com.healthmarketscience.jackcess.crypt.model.cert.CTCertificateKeyEncryptor.setCertVerifier(byte[]) may expose internal representation by storing an externally mutable object into CTCertificateKeyEncryptor.certVerifier MALICIOUS_CODE EI_EXPOSE_REP2 104 Medium
com.healthmarketscience.jackcess.crypt.model.cert.CTCertificateKeyEncryptor.setEncryptedKeyValue(byte[]) may expose internal representation by storing an externally mutable object into CTCertificateKeyEncryptor.encryptedKeyValue MALICIOUS_CODE EI_EXPOSE_REP2 60 Medium
com.healthmarketscience.jackcess.crypt.model.cert.CTCertificateKeyEncryptor.setX509Certificate(byte[]) may expose internal representation by storing an externally mutable object into CTCertificateKeyEncryptor.x509Certificate MALICIOUS_CODE EI_EXPOSE_REP2 82 Medium

com.healthmarketscience.jackcess.crypt.model.password.CTPasswordKeyEncryptor

Bug Category Details Line Priority
com.healthmarketscience.jackcess.crypt.model.password.CTPasswordKeyEncryptor.getEncryptedKeyValue() may expose internal representation by returning CTPasswordKeyEncryptor.encryptedKeyValue MALICIOUS_CODE EI_EXPOSE_REP 294 Medium
com.healthmarketscience.jackcess.crypt.model.password.CTPasswordKeyEncryptor.getEncryptedVerifierHashInput() may expose internal representation by returning CTPasswordKeyEncryptor.encryptedVerifierHashInput MALICIOUS_CODE EI_EXPOSE_REP 250 Medium
com.healthmarketscience.jackcess.crypt.model.password.CTPasswordKeyEncryptor.getEncryptedVerifierHashValue() may expose internal representation by returning CTPasswordKeyEncryptor.encryptedVerifierHashValue MALICIOUS_CODE EI_EXPOSE_REP 272 Medium
com.healthmarketscience.jackcess.crypt.model.password.CTPasswordKeyEncryptor.getSaltValue() may expose internal representation by returning CTPasswordKeyEncryptor.saltValue MALICIOUS_CODE EI_EXPOSE_REP 212 Medium
com.healthmarketscience.jackcess.crypt.model.password.CTPasswordKeyEncryptor.setEncryptedKeyValue(byte[]) may expose internal representation by storing an externally mutable object into CTPasswordKeyEncryptor.encryptedKeyValue MALICIOUS_CODE EI_EXPOSE_REP2 305 Medium
com.healthmarketscience.jackcess.crypt.model.password.CTPasswordKeyEncryptor.setEncryptedVerifierHashInput(byte[]) may expose internal representation by storing an externally mutable object into CTPasswordKeyEncryptor.encryptedVerifierHashInput MALICIOUS_CODE EI_EXPOSE_REP2 261 Medium
com.healthmarketscience.jackcess.crypt.model.password.CTPasswordKeyEncryptor.setEncryptedVerifierHashValue(byte[]) may expose internal representation by storing an externally mutable object into CTPasswordKeyEncryptor.encryptedVerifierHashValue MALICIOUS_CODE EI_EXPOSE_REP2 283 Medium
com.healthmarketscience.jackcess.crypt.model.password.CTPasswordKeyEncryptor.setSaltValue(byte[]) may expose internal representation by storing an externally mutable object into CTPasswordKeyEncryptor.saltValue MALICIOUS_CODE EI_EXPOSE_REP2 223 Medium