
functions
files
intro
|
|
Configuration of CAs |
include/ca-management/util.ycp |
Util definitions |
|
|
Imports
- Hostname
- Label
- YaPI::CaManagement
Includes
Local Functions
|
|
|
local getCountryList () -> list<term>
|
|
Creates Country items
- Return value:
|
a list country items formated for a UI table |
local check_mail_address (string address) -> boolean
|
|
See RFC 2822, 3.4
But for now, no-spaces@valid_domainname
- Parameters:
address |
an address to check |
- Return value:
local isBlank (string s) -> boolean
|
|
returns true if char is blank (newline, tab or space)
- Parameters:
- Return value:
local strip (string str) -> string
|
|
removes trailing and leading blank chars from string.
eg: " as df " -> "as df"
- Parameters:
- Return value:
local getPassword (string CAname) -> string
|
|
Dialog for asking a CA password. Returns the password
without asking if is has already input before.
- Parameters:
- Return value:
local exportToLDAP (string kind, string CAname, string commonName, string email, string certificate) -> boolean
|
|
Dialog for exporting CA/Certificate/CRL to LDAP
@param "CA" "CRL" "CERT"
- Parameters:
kind |
|
CAname |
|
commonName |
|
email |
|
certificate |
|
- Return value:
local exportCAtoFile (string CAname) -> void
|
|
Dialog for exporting CA to file
@param CAname
- Parameters:
- Return value:
local exportCRLtoFile (string CAname) -> void
|
|
Dialog for exporting CRL to file
@param CAname
- Parameters:
- Return value:
local exportCertificateToFile (string CAname, string certificate) -> void
|
|
Dialog for exporting Certificate to file
@param CAname, certificate
- Parameters:
- Return value:
local importCertificateFromDisk () -> boolean
|
|
importCertificateFromDisk() - Importing certificate to floppy
- Return value:
local exportCommonServerCertificate (string CAname, string certificate, string commonName) -> boolean
|
|
exportCommonServerCertificate() - Exporting common server certificate to the local
machine
- Parameters:
CAname |
|
certificate |
|
commonName |
|
- Return value:
|