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