diff options
Diffstat (limited to 'crypto/src/cmp/GeneralPkiMessage.cs')
-rw-r--r-- | crypto/src/cmp/GeneralPkiMessage.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/src/cmp/GeneralPkiMessage.cs b/crypto/src/cmp/GeneralPkiMessage.cs index 09c02434c..3ef4f4630 100644 --- a/crypto/src/cmp/GeneralPkiMessage.cs +++ b/crypto/src/cmp/GeneralPkiMessage.cs @@ -7,10 +7,7 @@ namespace Org.BouncyCastle.Cmp { private readonly PkiMessage m_pkiMessage; - private static PkiMessage ParseBytes(byte[] encoding) - { - return PkiMessage.GetInstance(Asn1Object.FromByteArray(encoding)); - } + private static PkiMessage ParseBytes(byte[] encoding) => PkiMessage.GetInstance(encoding); /// <summary> /// Wrap a PKIMessage ASN.1 structure. |