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