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.CertificateList Class Reference
Inheritance diagram for web2ldap.app.plugins.x509.CertificateList:
[legend]
Collaboration diagram for web2ldap.app.plugins.x509.CertificateList:
[legend]

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

 str
 
string mime_type = 'application/pkix-crl'
 
string file_ext = 'crl'
 
string crl_display_template
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.Binary
 str
 
 bool
 
- Static Public Attributes inherited from web2ldap.app.schema.syntaxes.LDAPSyntax
 str
 
 int
 
 bool
 

Detailed Description

Definition at line 144 of file x509.py.

Member Function Documentation

◆ display()

◆ sanitize()

bytes web2ldap.app.plugins.x509.CertificateList.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
present.

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

Definition at line 160 of file x509.py.

Member Data Documentation

◆ crl_display_template

string web2ldap.app.plugins.x509.CertificateList.crl_display_template
static
Initial value:
= """
<dl>
<dt>Issuer:</dt>
<dd>{crl_issuer_dn}</dd>
<dt>This update</dt>
<dd>{crl_this_update}</dd>
<dt>Next update</dt>
<dd>{crl_next_update}</dd>
</dl>
"""

Definition at line 149 of file x509.py.

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

◆ file_ext

string web2ldap.app.plugins.x509.CertificateList.file_ext = 'crl'
static

Definition at line 148 of file x509.py.

◆ mime_type

string web2ldap.app.plugins.x509.CertificateList.mime_type = 'application/pkix-crl'
static

◆ str

web2ldap.app.plugins.x509.CertificateList.str
static

Definition at line 145 of file x509.py.


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