parameters: (self, san_type)
return_statement: return ret
docstring: Returns the SAN extension values corresponding to |san_type|
docstring_summary: Returns the SAN extension values corresponding to |san_type|
docstring_tokens: Returns the SAN extension values corresponding to |san_type|
function: def _get_subject_alt_names_by_type(self, san_type):
          """Returns the SAN extension values corresponding to |san_type|"""
          # A certificate should only have one SAN extension but we can't rely on
          # this (in non-strict mode), so we return everything we find.
          sans = self._get_decoded_extension_values(oid.ID_CE_SUBJECT_ALT_NAME)
          ret = []
          for san in sans:
              ret += [c.component_value() for c in san
                      if c.component_key() == san_type]
          return ret
function_tokens: def _get_subject_alt_names_by_type ( self , san_type ) : # A certificate should only have one SAN extension but we can't rely on # this (in non-strict mode), so we return everything we find. sans = self . _get_decoded_extension_values ( oid . ID_CE_SUBJECT_ALT_NAME ) ret = [ ] for san in sans : ret += [ c . component_value ( ) for c in san if c . component_key ( ) == san_type ] return ret