docs: def add_tgt(self, as_rep, enc_as_rep_part, override_pp = True): #from AS_REP
  		"""
  		Creates credential object from the TGT and adds to the ccache file
  		The TGT is basically the native representation of the asn1 encoded AS_REP data that the AD sends upon a succsessful TGT request.
  		
  		This function doesn't do decryption of the encrypted part of the as_rep object, it is expected that the decrypted XXX is supplied in enc_as_rep_part
  		
  		override_pp: bool to determine if client principal should be used as the primary principal for the ccache file
  		"""
  		c = Credential()
  		c.client = CCACHEPrincipal.from_asn1(as_rep['cname'], as_rep['crealm'])
  		if override_pp == True:
  			self.primary_principal = c.client
  		c.server = CCACHEPrincipal.from_asn1(enc_as_rep_part['sname'], enc_as_rep_part['srealm'])
  		c.time = Times.from_asn1(enc_as_rep_part)
  		c.key = Keyblock.from_asn1(enc_as_rep_part['key'])
  		c.is_skey = 0 #not sure!
  		
  		c.tktflags = TicketFlags(enc_as_rep_part['flags']).cast(core.IntegerBitString).native
  		c.num_address = 0
  		c.num_authdata = 0
  		c.ticket = CCACHEOctetString.from_asn1(Ticket(as_rep['ticket']).dump())
  		c.second_ticket = CCACHEOctetString.empty()
  		
  		self.credentials.append(c)