init commit

This commit is contained in:
2025-10-09 09:57:24 +09:00
commit 4d551bd74f
6636 changed files with 1218703 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
namespace Org.BouncyCastle.Asn1.Cms;
public class ContentInfoParser
{
private DerObjectIdentifier contentType;
private Asn1TaggedObjectParser content;
public DerObjectIdentifier ContentType => contentType;
public ContentInfoParser(Asn1SequenceParser seq)
{
contentType = (DerObjectIdentifier)seq.ReadObject();
content = (Asn1TaggedObjectParser)seq.ReadObject();
}
public IAsn1Convertible GetContent(int tag)
{
if (content == null)
{
return null;
}
return content.GetObjectParser(tag, isExplicit: true);
}
}