diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-03-06 19:44:08 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-03-06 19:44:08 +0700 |
commit | ceb38d21d9db8d8aa2b52126d6e07823acb3c428 (patch) | |
tree | 9c6016fa82bce2904bdca3a94125a84087c164c6 | |
parent | Refactoring in Asn1 (diff) | |
download | BouncyCastle.NET-ed25519-ceb38d21d9db8d8aa2b52126d6e07823acb3c428.tar.xz |
Use Id instead of ToString
-rw-r--r-- | crypto/src/cms/CMSCompressedDataParser.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/cms/CMSCompressedDataParser.cs b/crypto/src/cms/CMSCompressedDataParser.cs index 38ff88968..2212f45fd 100644 --- a/crypto/src/cms/CMSCompressedDataParser.cs +++ b/crypto/src/cms/CMSCompressedDataParser.cs @@ -46,7 +46,7 @@ namespace Org.BouncyCastle.Cms Asn1OctetStringParser bytes = (Asn1OctetStringParser)content.GetContent(Asn1Tags.OctetString); Stream zIn = ZLib.DecompressInput(bytes.GetOctetStream()); - return new CmsTypedStream(content.ContentType.ToString(), zIn); + return new CmsTypedStream(content.ContentType.Id, zIn); } catch (IOException e) { |