Package M2Crypto :: Module X509 :: Class X509_Name
[frames] | no frames]

Class X509_Name



X509 Name

Instance Methods
 
m2_x509_name_free(...)
 
__init__(self, x509_name=None, _pyfree=0)
 
__del__(self)
 
__str__(self)
 
__getattr__(self, attr)
 
__setattr__(self, attr, value)
 
__len__(self)
 
__getitem__(self, idx)
 
__iter__(self)
 
add_entry_by_txt(self, field, type, entry, len, loc, set)
 
entry_count(self)
 
get_entries_by_nid(self, nid)
 
as_text(self, indent=0, flags=0)
as_text returns the name as a string.
 
as_der(self)
 
as_hash(self)
Class Variables
  nid = {'C': 14, 'CN': 13, 'Email': 48, 'GN': 99, 'L': 15, 'O':...
Method Details

as_text(self, indent=0, flags=0)

 

as_text returns the name as a string.

Parameters:
  • indent - Each line in multiline format is indented by this many spaces.
  • flags - Flags that control how the output should be formatted.

Class Variable Details

nid

Value:
{'C': 14,
 'CN': 13,
 'Email': 48,
 'GN': 99,
 'L': 15,
 'O': 17,
 'OU': 18,
 'SN': 100,
...