Skip to content

Commit

Permalink
Fix certificate sha256 hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Styk committed May 18, 2024
1 parent 2d62054 commit d4f68eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class CertificateManager @Inject internal constructor(private val digestManager:
CertificateData(
signAlgorithm = certificate.sigAlgName,
certificateHashMd5 = digestManager.md5Digest(certificate.encoded),
certificateHashSha256 = digestManager.md5Digest(certificate.encoded),
certificateHashSha256 = digestManager.sha256Digest(certificate.encoded),
publicKeyMd5 = digestManager.md5Digest(digestManager.byteToHexString(certificate.publicKey.encoded)),
publicKeySha256 = digestManager.sha256Digest(digestManager.byteToHexString(certificate.publicKey.encoded)),
startDate = certificate.notBefore,
Expand Down

0 comments on commit d4f68eb

Please sign in to comment.