$context.getSSLCertInfo

# $context.getSSLCertInfo Returns the requested information about certificates used in an ssl-enabled irc session
Usage
    $context.getSSLCertInfo(<query>[,<type:string='remote'>[,<context_id>[,<param1>]]])
Description
Returns the requested information about certificates used in an ssl-enabled irc session. The second <type> parameter can be "local" or "remote", and refers to the certificate you want to query the information from; if omitted, it defaults to "remote". If <context_id> is omitted then the IRC Context associated with the current window is assumed. If <context_id> is not a valid IRC Context identifier (or it is omitted and the current window has no associated IRC Context) then this function prints a warning and returns an empty string. If the IRC Context is not using ssl then this function returns an empty string. Some queries can accept an optional parameter <param1>. Available query strings are: signatureType signatureContents subjectCountry subjectStateOrProvince subjectLocality subjectOrganization subjectOrganizationalUnit subjectCommonName issuerCountry issuerStateOrProvince issuerLocality issuerOrganization issuerOrganizationalUnit issuerCommonName publicKeyBits publicKeyType serialNumber pemBase64 version fingerprintIsValid fingerprintDigestId fingerprintDigestStr fingerprintContents * accepts parameter interpreted as "digest name"
Syntax Specification
    $context.getSSLCertInfo(<query:string>[,<type:string='remote'>[,<context_id:integer>[,<param1:string>]]])
Examples
        # get a sha256 fingerprint of remote peer's certificate
        $context.getSSLCertInfo(fingerprintContents,remote,$context,sha256)
See also
$certificate $str.evpsign $str.evpverify

Index, Functions

KVIrc 4.2.0.6190 Documentation
Generated by builduser at Sat Dec 12 00:28:34 2015