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