web2ldap
1.7.7
About: web2ldap is a full-featured web-based LDAPv3 client.
![]() ![]() |
Public Member Functions | |
bytes | sanitize (self, bytes attr_value) |
str | display (self, vidx, links) |
![]() | |
web_forms.Field | input_field (self) |
str | display (self, vidx, links) |
![]() | |
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-cert' |
string | file_ext = 'cer' |
string | cert_display_template |
string | cert_extn_display_template |
![]() | |
str | |
bool | |
![]() | |
str | |
int | |
bool | |
Private Member Functions | |
def | _display_extensions (self, x509) |
|
private |
Definition at line 93 of file x509.py.
References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.x509.Certificate.cert_extn_display_template, and web2ldap.app.plugins.x509.Certificate.str.
str web2ldap.app.plugins.x509.Certificate.display | ( | self, | |
vidx, | |||
links | |||
) |
Reimplemented from web2ldap.app.schema.syntaxes.Binary.
Definition at line 109 of file x509.py.
References web2ldap.app.entry.DisplayEntry._app, web2ldap.app.read.VCardEntry._app, web2ldap.app.schema.syntaxes.LDAPSyntax._app, web2ldap.app.schema.viewer.DisplaySchemaElement._app, web2ldap.app.search.PrintableHTMLWriter._app, web2ldap.app.plugins.openldap.ReqMod._av, web2ldap.app.schema.syntaxes.LDAPSyntax._av, web2ldap.app.schema.syntaxes.LDAPSyntax._schema, web2ldap.app.schema.viewer.DisplaySchemaElement._schema, web2ldap.app.plugins.x509.Certificate.cert_display_template, web2ldap.app.plugins.x509.Certificate.str, and web2ldap.app.plugins.x509.x509name2ldapdn().
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 present.
Reimplemented from web2ldap.app.schema.syntaxes.LDAPSyntax.
|
static |
Definition at line 68 of file x509.py.
Referenced by web2ldap.app.plugins.x509.Certificate.display().
|
static |
Definition at line 80 of file x509.py.
Referenced by web2ldap.app.plugins.x509.Certificate._display_extensions().
|
static |
|
static |
Definition at line 66 of file x509.py.
Referenced by web2ldap.app.schema.syntaxes.Audio.display(), web2ldap.app.schema.syntaxes.Image.display(), and web2ldap.app.schema.syntaxes.Binary.input_field().
|
static |
Definition at line 64 of file x509.py.
Referenced by web2ldap.app.plugins.x509.Certificate._display_extensions(), and web2ldap.app.plugins.x509.Certificate.display().