public static FastArmorApRequest Parse(KrbFastArmor armor)
 {
     if (armor.armor_type.Value != (long)KrbFastArmorType.FX_FAST_ARMOR_AP_REQUEST)
         throw new Exception();
     var apReq = new AP_REQ();
     apReq.BerDecode(new Asn1DecodingBuffer(armor.armor_value.ByteArrayValue));
     return new FastArmorApRequest(apReq);
 }
 public KrbFastArmoredReq(
     KrbFastArmor param0,
     Checksum param1,
     EncryptedData param2)
 {
     this.armor        = param0;
     this.req_checksum = param1;
     this.enc_fast_req = param2;
 }
 public KrbFastArmoredReq(
     KrbFastArmor param0,
     Checksum param1,
     EncryptedData param2)
 {
     this.armor = param0;
     this.req_checksum = param1;
     this.enc_fast_req = param2;
 }
 public static IFastArmor Parse(KrbFastArmor armor)
 {
     switch ((KrbFastArmorType)armor.armor_type.Value)
     {
         case KrbFastArmorType.FX_FAST_ARMOR_AP_REQUEST:
             return FastArmorApRequest.Parse(armor);
     }
     throw new NotImplementedException();
 }