diff options
Diffstat (limited to 'crypto/src/ocsp/CertificateID.cs')
-rw-r--r-- | crypto/src/ocsp/CertificateID.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/ocsp/CertificateID.cs b/crypto/src/ocsp/CertificateID.cs index 215857ae9..b972a0f66 100644 --- a/crypto/src/ocsp/CertificateID.cs +++ b/crypto/src/ocsp/CertificateID.cs @@ -127,7 +127,7 @@ namespace Org.BouncyCastle.Ocsp AsymmetricKeyParameter issuerKey = issuerCert.GetPublicKey(); SubjectPublicKeyInfo info = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(issuerKey); byte[] issuerKeyHash = DigestUtilities.CalculateDigest( - hashAlgorithm, info.PublicKeyData.GetBytes()); + hashAlgorithm, info.PublicKey.GetBytes()); return new CertID(hashAlg, new DerOctetString(issuerNameHash), new DerOctetString(issuerKeyHash), serialNumber); |