|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KSSLSigners
public class KSSLSigners
KDE SSL Signer Database This class is used to manipulate the KDE SSL signer database. It communicates to the KDE SSL daemon via dcop for backend integration.
KSSL
,
KSSLCertificate
Constructor Summary | |
---|---|
|
KSSLSigners()
Construct a KSSLSigner object. |
protected |
KSSLSigners(java.lang.Class dummy)
|
Method Summary | |
---|---|
boolean |
addCA(KSSLCertificate cert,
boolean ssl,
boolean email,
boolean code)
Add a signer to the database. |
boolean |
addCA(java.lang.String cert,
boolean ssl,
boolean email,
boolean code)
Add a signer to the database. |
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
java.lang.String |
getCert(java.lang.String subject)
Get a signer certificate from the database. |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
java.util.ArrayList |
list()
List the signers in the database. |
boolean |
regenerate()
Regenerate the signer-root file from the user's settings. |
boolean |
remove(KSSLCertificate cert)
Remove a certificate signer from the database |
boolean |
remove(java.lang.String subject)
Remove a certificate signer from the database |
boolean |
setUse(java.lang.String subject,
boolean ssl,
boolean email,
boolean code)
Set the use of a particular entry in the certificate signer database. |
boolean |
useForCode(KSSLCertificate cert)
Determine if a certificate can be used for code certificate signing |
boolean |
useForCode(java.lang.String subject)
Determine if a certificate can be used for code certificate signing |
boolean |
useForEmail(KSSLCertificate cert)
Determine if a certificate can be used for S/MIME certificate signing |
boolean |
useForEmail(java.lang.String subject)
Determine if a certificate can be used for S/MIME certificate signing |
boolean |
useForSSL(KSSLCertificate cert)
Determine if a certificate can be used for SSL certificate signing |
boolean |
useForSSL(java.lang.String subject)
Determine if a certificate can be used for SSL certificate signing |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KSSLSigners(java.lang.Class dummy)
public KSSLSigners()
Method Detail |
---|
public boolean addCA(KSSLCertificate cert, boolean ssl, boolean email, boolean code)
cert
- the signer's certificatessl
- allow it to sign for SSLemail
- allow it to sign for S/MIMEcode
- allow it to sign for code signing
public boolean addCA(java.lang.String cert, boolean ssl, boolean email, boolean code)
cert
- the signer's certificate in base64 formssl
- allow it to sign for SSLemail
- allow it to sign for S/MIMEcode
- allow it to sign for code signing
public boolean regenerate()
public boolean useForSSL(KSSLCertificate cert)
cert
- the certificate
public boolean useForSSL(java.lang.String subject)
subject
- the certificate subject
public boolean useForEmail(KSSLCertificate cert)
cert
- the certificate
public boolean useForEmail(java.lang.String subject)
subject
- the certificate subject
public boolean useForCode(KSSLCertificate cert)
cert
- the certificate
public boolean useForCode(java.lang.String subject)
subject
- the certificate subject
public boolean remove(KSSLCertificate cert)
cert
- the certificate to remove
public boolean remove(java.lang.String subject)
subject
- the subject of the certificate to remove
public java.util.ArrayList list()
getCert(java.lang.String)
public java.lang.String getCert(java.lang.String subject)
subject
- the subject of the certificate desired
public boolean setUse(java.lang.String subject, boolean ssl, boolean email, boolean code)
subject
- the subject of the certificate in questionssl
- allow this for SSL certificate signingemail
- allow this for S/MIME certificate signingcode
- allow this for code certificate signing
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |