diff options
Diffstat (limited to 'crypto/src/ocsp/RespID.cs')
-rw-r--r-- | crypto/src/ocsp/RespID.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/ocsp/RespID.cs b/crypto/src/ocsp/RespID.cs index 3238b26da..304b9cd49 100644 --- a/crypto/src/ocsp/RespID.cs +++ b/crypto/src/ocsp/RespID.cs @@ -35,7 +35,7 @@ namespace Org.BouncyCastle.Ocsp { SubjectPublicKeyInfo info = SubjectPublicKeyInfoFactory.CreateSubjectPublicKeyInfo(publicKey); - byte[] keyHash = DigestUtilities.CalculateDigest("SHA1", info.PublicKeyData.GetBytes()); + byte[] keyHash = DigestUtilities.CalculateDigest("SHA1", info.PublicKey.GetBytes()); this.id = new ResponderID(new DerOctetString(keyHash)); } |