org.kde.koala
public class KSSLPKCS12 extends Object implements QtSupport
See Also: KSSL KSSLCertificate
UNKNOWN: KDE PKCS#12 Certificate.
Constructor Summary | |
---|---|
protected | KSSLPKCS12(Class dummy) |
KSSLPKCS12() |
Method Summary | |
---|---|
boolean | changePassword(String pold, String pnew)
Change the password of the PKCS#12 in memory. |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
static KSSLPKCS12 | fromString(String base64, String password)
Create a KSSLPKCS12 object from a Base64 in a String. |
static KSSLPKCS12 | fromString(String base64) |
KSSLCertificate | getCertificate()
Get the X.509 certificate. |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isValid()
Check if the X.509 and private key are valid. |
boolean | isValid(int p)
Check if the X.509 and private key are valid. |
static KSSLPKCS12 | loadCertFile(String filename, String password)
Create a KSSLPKCS12 object by reading a PKCS#12 file. |
static KSSLPKCS12 | loadCertFile(String filename) |
String | name()
The name of this certificate. |
protected boolean | parse(String pass) |
int | revalidate()
Check the X.509 and private key to make sure they're valid.
|
int | revalidate(int p)
Check the X.509 and private key to make sure they're valid.
|
boolean | toFile(String filename)
Write the PKCS#12 to a file in raw mode. |
String | toString()
Convert to a Base64 string. |
int | validate()
Check the X.509 and private key to make sure they're valid. |
int | validate(int p)
Check the X.509 and private key to make sure they're valid. |
Parameters: pold the old password pnew the new password
Returns: true on success
UNKNOWN: Change the password of the PKCS#12 in memory.
Parameters: base64 the base64 encoded certificate password a password for the certificate if encrypted
Returns: the PKCS#12 object, or NULL on failure.
UNKNOWN: Create a KSSLPKCS12 object from a Base64 in a String.
Returns: the X.509 certificate for the PKCS#12 object, or NULL
UNKNOWN: Get the X.
Returns: true if valid
UNKNOWN: Check if the X.
Parameters: p the purpose to validate for
Returns: true if valid
UNKNOWN: Check if the X.
Parameters: filename the filename of the certificate password a password for the certificate if encrypted
Returns: the PKCS#12 object, or NULL on failure.
UNKNOWN: Create a KSSLPKCS12 object by reading a PKCS#12 file.
Returns: the name of the certificate
UNKNOWN: The name of this certificate.
Returns: the result of the validation
See Also: KSSLCertificate
UNKNOWN: Check the X.
Parameters: p the purpose to validate for
Returns: the result of the validation
See Also: KSSLCertificate
UNKNOWN: Check the X.
Parameters: filename the file to write to
Returns: true on success
UNKNOWN: Write the PKCS#12 to a file in raw mode.
Returns: the certificate in base64 form
UNKNOWN: Convert to a Base64 string.
Returns: the result of the validation
See Also: KSSLCertificate
UNKNOWN: Check the X.
Parameters: p the purpose to validate for
Returns: the result of the validation
See Also: KSSLCertificate
UNKNOWN: Check the X.