org.kde.koala
public class KSSLPKCS7 extends Object implements QtSupport
See Also: KSSL
UNKNOWN: KDE PKCS#7 Certificate.
Constructor Summary | |
---|---|
protected | KSSLPKCS7(Class dummy) |
KSSLPKCS7() |
Method Summary | |
---|---|
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
static KSSLPKCS7 | fromString(String base64)
Create a KSSLPKCS7 object from a Base64 in a String. |
KSSLCertificate | getCertificate()
Get the bottom level X.509 certificate. |
KSSLCertChain | getChain()
Get the certificate chain. |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isValid()
Return true if the chain is valid. |
static KSSLPKCS7 | loadCertFile(String filename)
Create a KSSLPKCS7 object by reading a PKCS#7 file. |
String | name()
The name of this certificate. |
boolean | toFile(String filename)
Write the PKCS#7 to a file in raw mode. |
String | toString()
Convert to a Base64 string. |
Parameters: base64 the base64 representation of the certificate
Returns: a PKCS#7 object, or NULL on failure
UNKNOWN: Create a KSSLPKCS7 object from a Base64 in a String.
Returns: the certificate, or NULL on failure
See Also: KSSLCertificate
UNKNOWN: Get the bottom level X.
Returns: the certificate chain
See Also: KSSLCertChain
UNKNOWN: Get the certificate chain.
UNKNOWN: Return true if the chain is valid.
Parameters: filename the filename to read the certificate from
Returns: a PKCS#7 object, or NULL on failure
UNKNOWN: Create a KSSLPKCS7 object by reading a PKCS#7 file.
Returns: the name of the certificate
UNKNOWN: The name of this certificate.
Parameters: filename the filename to write
Returns: true on success
UNKNOWN: Write the PKCS#7 to a file in raw mode.
Returns: the PKCS#7 object in base64 form
UNKNOWN: Convert to a Base64 string.