Ejemplo n.º 1
0
 internal static void WriteKerberosTime(this DERBuilder builder, int context, DateTime time)
 {
     builder.WriteContextSpecific(context, b => b.WriteGeneralizedTime(time));
     builder.WriteContextSpecific(context + 1, b => b.WriteInt32(time.Millisecond * 1000));
 }
Ejemplo n.º 2
0
 internal static void WriteKerberosHeader(this DERBuilder builder, KerberosMessageType msg_type)
 {
     builder.WriteContextSpecific(0, b => b.WriteInt32(5));
     builder.WriteContextSpecific(1, b => b.WriteInt32((int)msg_type));
 }