code: def rfc2426(self):
          
          if self.type:
              p={"type":self.type}
          else:
              p={}
          return rfc2425encode(self.name,self.cred,p)
docs: RFC2426-encode the field content.
  
          :return: the field in the RFC 2426 format.
          :returntype: `str`