web2ldap  1.7.7
About: web2ldap is a full-featured web-based LDAPv3 client.
  Fossies Dox: web2ldap-1.7.7.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

web2ldap.app.plugins.x509.Certificate Class Reference
Inheritance diagram for web2ldap.app.plugins.x509.Certificate:
Collaboration diagram for web2ldap.app.plugins.x509.Certificate:

Public Member Functions

bytes sanitize (self, bytes attr_value)
str display (self, vidx, links)
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.Binary
web_forms.Field input_field (self)
str display (self, vidx, links)
- Public Member Functions inherited from web2ldap.app.schema.syntaxes.LDAPSyntax
def __init__ (self, app, Optional[str] dn, SubSchema schema, Optional[str] attrType, Optional[bytes] attr_value, entry=None)
def dn (self)
def av_u (self)
bytes sanitize (self, bytes attr_value)
List[bytes] transmute (self, List[bytes] attr_values)
def validate (self, bytes attr_value)
str value_button (self, command, row, mode, link_text=None)
str form_value (self)
def input_fields (self)
web_forms.Field input_field (self)
str display (self, vidx, links)

Static Public Attributes

string mime_type = 'application/pkix-cert'
string file_ext = 'cer'
string cert_display_template
string cert_extn_display_template
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.Binary
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.LDAPSyntax

Private Member Functions

def _display_extensions (self, x509)

Detailed Description

Definition at line 63 of file x509.py.

Member Function Documentation

◆ _display_extensions()

◆ display()

◆ sanitize()

bytes web2ldap.app.plugins.x509.Certificate.sanitize (   self,
bytes  attr_value 
Transforms the HTML form input field values into LDAP string
representations and returns raw binary string.

This is the inverse of LDAPSyntax.form_value().

When using this method one MUST NOT assume that the whole entry is

Reimplemented from web2ldap.app.schema.syntaxes.LDAPSyntax.

Definition at line 85 of file x509.py.

Member Data Documentation

◆ cert_display_template

string web2ldap.app.plugins.x509.Certificate.cert_display_template
Initial value:
= """
<dt>Serial No.</dt>
<dd>{cert_serial_number_dec} ({cert_serial_number_hex})</dd>
<dt>Validity period</dt>
<dd>from {cert_not_before} until {cert_not_after}</dd>

Definition at line 68 of file x509.py.

Referenced by web2ldap.app.plugins.x509.Certificate.display().

◆ cert_extn_display_template

string web2ldap.app.plugins.x509.Certificate.cert_extn_display_template
Initial value:
= """
<dt>{ext_crit} {ext_name} {ext_id} </dt>

Definition at line 80 of file x509.py.

Referenced by web2ldap.app.plugins.x509.Certificate._display_extensions().

◆ file_ext

string web2ldap.app.plugins.x509.Certificate.file_ext = 'cer'

Definition at line 67 of file x509.py.

◆ mime_type

string web2ldap.app.plugins.x509.Certificate.mime_type = 'application/pkix-cert'

◆ str


The documentation for this class was generated from the following file: