|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.security.cert.CertificateFactorySpi
|
+--webfunds.openpgp.cert.SimpleOpenPGPCertificateFactorySpi
Simple OpenPGP Certificate class.
Warning: this class is a hack, which will most likely disappear in favour of a proper implementation.
| Constructor Summary | |
SimpleOpenPGPCertificateFactorySpi()
Empty constructor |
|
| Method Summary | |
java.security.cert.Certificate |
engineGenerateCertificate(java.io.InputStream inStream)
Decode an OpenPGP certificate |
java.util.Collection |
engineGenerateCertificates(java.io.InputStream inStream)
Unsupported method |
java.security.cert.CRL |
engineGenerateCRL(java.io.InputStream inStream)
Unsupported method |
java.util.Collection |
engineGenerateCRLs(java.io.InputStream inStream)
Unsupported method |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public SimpleOpenPGPCertificateFactorySpi()
| Method Detail |
public java.security.cert.Certificate engineGenerateCertificate(java.io.InputStream inStream)
throws java.security.cert.CertificateException
Note that this method only works if exactly one certificate is present.
The certificate has to be binary encoded. If an application wants to parse a base64 armoured key then the data has to be unarmoured first.
inStream - the stream to read the certificate from
public java.util.Collection engineGenerateCertificates(java.io.InputStream inStream)
throws java.security.cert.CertificateException
public java.security.cert.CRL engineGenerateCRL(java.io.InputStream inStream)
throws java.security.cert.CRLException
public java.util.Collection engineGenerateCRLs(java.io.InputStream inStream)
throws java.security.cert.CRLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||