summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-04-11 18:55:22 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-04-11 18:55:22 +0700
commitf5109c4e0f43f8f9bab99f1f307aabb31dcde6c5 (patch)
tree7fdee8adaf6338993e3700b06b4007beb15ca4a5
parentSupport BitString construction from ReadOnlySpan (diff)
downloadBouncyCastle.NET-ed25519-f5109c4e0f43f8f9bab99f1f307aabb31dcde6c5.tar.xz
Fix static method references
-rw-r--r--crypto/src/asn1/isismtt/ocsp/CertHash.cs2
-rw-r--r--crypto/src/asn1/pkcs/SignerInfo.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/asn1/isismtt/ocsp/CertHash.cs b/crypto/src/asn1/isismtt/ocsp/CertHash.cs
index 5773e1c56..be9fbd608 100644
--- a/crypto/src/asn1/isismtt/ocsp/CertHash.cs
+++ b/crypto/src/asn1/isismtt/ocsp/CertHash.cs
@@ -68,7 +68,7 @@ namespace Org.BouncyCastle.Asn1.IsisMtt.Ocsp
 				throw new ArgumentException("Bad sequence size: " + seq.Count);
 
 			this.hashAlgorithm = AlgorithmIdentifier.GetInstance(seq[0]);
-			this.certificateHash = DerOctetString.GetInstance(seq[1]).GetOctets();
+			this.certificateHash = Asn1OctetString.GetInstance(seq[1]).GetOctets();
 		}
 
 		/**
diff --git a/crypto/src/asn1/pkcs/SignerInfo.cs b/crypto/src/asn1/pkcs/SignerInfo.cs
index 777251e84..532a564f3 100644
--- a/crypto/src/asn1/pkcs/SignerInfo.cs
+++ b/crypto/src/asn1/pkcs/SignerInfo.cs
@@ -74,7 +74,7 @@ namespace Org.BouncyCastle.Asn1.Pkcs
             }
 
 			e.MoveNext();
-            encryptedDigest = DerOctetString.GetInstance(e.Current);
+            encryptedDigest = Asn1OctetString.GetInstance(e.Current);
 
 			if (e.MoveNext())
             {