parameters: (self)
docstring: Get the common names of the subject.
  
          Returns:
              a list of common name strings ("CN" attribute values in the
              certificate's "subject" field).
  
          Raises:
              CertificateError: corrupt CN attribute.
docstring_summary: Get the common names of the subject.
docstring_tokens: Get the common names of the subject .
function: def subject_common_names(self):
          """Get the common names of the subject.
  
          Returns:
              a list of common name strings ("CN" attribute values in the
              certificate's "subject" field).
  
          Raises:
              CertificateError: corrupt CN attribute.
          """
          try:
              return self._asn1_cert["tbsCertificate"]["subject"].attributes(
                  oid.ID_AT_COMMON_NAME)
          except error.ASN1Error:
              raise CertificateError("Corrupt common name attribute")
function_tokens: def subject_common_names ( self ) : try : return self . _asn1_cert [ "tbsCertificate" ] [ "subject" ] . attributes ( oid . ID_AT_COMMON_NAME ) except error . ASN1Error : raise CertificateError ( "Corrupt common name attribute" )