From 11b4d6a7afeb6f3be906a1a0ddf132df3f255b4a Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 25 Oct 2022 00:13:45 +0700 Subject: Add Asn1GeneralizedTime and use --- crypto/src/ocsp/RevokedStatus.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/src/ocsp/RevokedStatus.cs') diff --git a/crypto/src/ocsp/RevokedStatus.cs b/crypto/src/ocsp/RevokedStatus.cs index edbeb57da..903e50ef5 100644 --- a/crypto/src/ocsp/RevokedStatus.cs +++ b/crypto/src/ocsp/RevokedStatus.cs @@ -24,7 +24,7 @@ namespace Org.BouncyCastle.Ocsp DateTime revocationDate, int reason) { - this.info = new RevokedInfo(new DerGeneralizedTime(revocationDate), new CrlReason(reason)); + this.info = new RevokedInfo(new Asn1GeneralizedTime(revocationDate), new CrlReason(reason)); } public DateTime RevocationTime -- cgit 1.4.1