summary refs log tree commit diff
path: root/crypto/src/openssl
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-10-14 14:38:54 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-10-14 14:38:54 +0700
commitecfb3823788a16b23ccb4031da3a0020c977dcd6 (patch)
tree2691cd86b1569289f49027e879821ffa87ad6c57 /crypto/src/openssl
parentConsolidate all F2m decompression methods into AbstractF2m (diff)
downloadBouncyCastle.NET-ed25519-ecfb3823788a16b23ccb4031da3a0020c977dcd6.tar.xz
Support "CMS" header
Diffstat (limited to 'crypto/src/openssl')
-rw-r--r--crypto/src/openssl/PEMReader.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/src/openssl/PEMReader.cs b/crypto/src/openssl/PEMReader.cs
index 8c19fe601..ec5d1b414 100644
--- a/crypto/src/openssl/PEMReader.cs
+++ b/crypto/src/openssl/PEMReader.cs
@@ -109,6 +109,7 @@ namespace Org.BouncyCastle.OpenSsl
                 case "X509 CERTIFICATE":
                     return ReadCertificate(obj);
                 case "PKCS7":
+                case "CMS":
                     return ReadPkcs7(obj);
                 case "X509 CRL":
                     return ReadCrl(obj);