diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2017-06-10 20:44:56 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2017-06-10 20:44:56 +0700 |
commit | a0fd16c00237ba5f59fb5e3fd4901f7b3c1aa97e (patch) | |
tree | 237b01e11fa199090c4a5bb5944a5100da9b5daf /crypto/src/asn1/crmf/CertReqMsg.cs | |
parent | Added byte[] return when macBlock not set. (diff) | |
download | BouncyCastle.NET-ed25519-a0fd16c00237ba5f59fb5e3fd4901f7b3c1aa97e.tar.xz |
Misc. asn1 changes from Java API
Diffstat (limited to 'crypto/src/asn1/crmf/CertReqMsg.cs')
-rw-r--r-- | crypto/src/asn1/crmf/CertReqMsg.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/src/asn1/crmf/CertReqMsg.cs b/crypto/src/asn1/crmf/CertReqMsg.cs index 20fd4179a..03ce32d99 100644 --- a/crypto/src/asn1/crmf/CertReqMsg.cs +++ b/crypto/src/asn1/crmf/CertReqMsg.cs @@ -39,6 +39,13 @@ namespace Org.BouncyCastle.Asn1.Crmf return null; } + public static CertReqMsg GetInstance( + Asn1TaggedObject obj, + bool isExplicit) + { + return GetInstance(Asn1Sequence.GetInstance(obj, isExplicit)); + } + /** * Creates a new CertReqMsg. * @param certReq CertRequest |