|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.kde.koala.KSSLPKCS7
public class KSSLPKCS7
KDE PKCS#7 Certificate This class represents a PKCS#7 certificate
KSSL| Constructor Summary | |
|---|---|
|
KSSLPKCS7()
|
protected |
KSSLPKCS7(java.lang.Class dummy)
|
| Method Summary | |
|---|---|
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
static KSSLPKCS7 |
fromString(java.lang.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(java.lang.String filename)
Create a KSSLPKCS7 object by reading a PKCS#7 file. |
java.lang.String |
name()
The name of this certificate. |
boolean |
toFile(java.lang.String filename)
Write the PKCS#7 to a file in raw mode. |
java.lang.String |
toString()
Convert to a Base64 string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected KSSLPKCS7(java.lang.Class dummy)
public KSSLPKCS7()
| Method Detail |
|---|
public java.lang.String name()
public java.lang.String toString()
toString in class java.lang.Objectpublic KSSLCertificate getCertificate()
KSSLCertificatepublic KSSLCertChain getChain()
KSSLCertChainpublic boolean toFile(java.lang.String filename)
filename - the filename to write
public boolean isValid()
public static KSSLPKCS7 fromString(java.lang.String base64)
base64 - the base64 representation of the certificate
public static KSSLPKCS7 loadCertFile(java.lang.String filename)
filename - the filename to read the certificate from
protected void finalize()
throws java.lang.InternalError
finalize in class java.lang.Objectjava.lang.InternalErrorpublic void dispose()
public boolean isDisposed()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||