From 81718ad166d0dd458ed070e753d1f4bfcc40593d Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 26 May 2024 17:22:18 +0700 Subject: Auto-adjust DateTime precision for GeneralizedTime in X.509 (and OCSP) - see https://github.com/bcgit/bc-csharp/issues/474 --- crypto/Readme.html | 1 + crypto/src/asn1/cms/Time.cs | 5 ++-- crypto/src/asn1/esf/CrlIdentifier.cs | 2 +- crypto/src/asn1/esf/OcspIdentifier.cs | 7 ++---- crypto/src/asn1/x509/Rfc5280Asn1Utilities.cs | 14 +++++++++++ crypto/src/asn1/x509/Time.cs | 4 ++-- crypto/src/ocsp/BasicOCSPRespGenerator.cs | 27 +++++++++++++--------- crypto/src/ocsp/RevokedStatus.cs | 8 +++++-- crypto/src/tsp/TimeStampTokenGenerator.cs | 7 +++++- .../x509/X509V2AttributeCertificateGenerator.cs | 4 ++-- crypto/src/x509/X509V2CRLGenerator.cs | 2 +- 11 files changed, 54 insertions(+), 27 deletions(-) create mode 100644 crypto/src/asn1/x509/Rfc5280Asn1Utilities.cs (limited to 'crypto') diff --git a/crypto/Readme.html b/crypto/Readme.html index 3c5a451b4..81e26814e 100644 --- a/crypto/Readme.html +++ b/crypto/Readme.html @@ -342,6 +342,7 @@
Additional Features and Functionality
Additional Notes