Ejemplo n.º 1
0
 private static AsnType CreateBitString(AsnType value)
 {
     return(IsEmpty(value) ? new AsnType(0x03, EMPTY) : CreateBitString(value.GetBytes(), 0x00));
 }
Ejemplo n.º 2
0
 private static bool IsEmpty(AsnType value)
 {
     return(null == value);
 }
Ejemplo n.º 3
0
 private static AsnType CreateOctetString(AsnType value)
 {
     return(IsEmpty(value) ? new AsnType(0x04, 0x00) : new AsnType(0x04, value.GetBytes()));
 }