Пример #1
0
 private static void WriteEncodable(MemoryStream ms, Asn1Encodable e)
 {
     if (e != null)
     {
         byte[] bs = e.GetDerEncoded();
         ms.Write(bs, 0, bs.Length);
     }
 }
Пример #2
0
 public DerBitString(
     Asn1Encodable obj)
     : this(obj.GetDerEncoded())
 {
 }