public MetaData( DerBoolean hashProtected, DerUtf8String fileName, DerIA5String mediaType, Attributes otherMetaData) { this.hashProtected = hashProtected; this.fileName = fileName; this.mediaType = mediaType; this.otherMetaData = otherMetaData; }
private MetaData(Asn1Sequence seq) { this.hashProtected = DerBoolean.GetInstance(seq[0]); int index = 1; if (index < seq.Count && seq[index] is DerUtf8String) { this.fileName = DerUtf8String.GetInstance(seq[index++]); } if (index < seq.Count && seq[index] is DerIA5String) { this.mediaType = DerIA5String.GetInstance(seq[index++]); } if (index < seq.Count) { this.otherMetaData = Attributes.GetInstance(seq[index++]); } }
public AttributeTable(Attributes attrs) : this(Asn1Set.GetInstance(attrs.ToAsn1Object())) { }