|
Agent System POND 1.2 (28.2.2002) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.security.cert.CertificateFactorySpi | +--PkgAgentSystem.Crypto.AgentIdentityFactory
Factory for creating AgentIdentity
certificates form input streams. Only restoring a single certificate is supported.
Multiple certificates and certificate revocation lists are not implemented and will throw an exception if called.
AgentIdentity
,
AgentCryptographyProvider
,
ClassLoaderObjectInputStream
Constructor Summary | |
AgentIdentityFactory()
Creates a new factory |
Method Summary | |
Certificate |
engineGenerateCertificate(InputStream inStream)
Generates a certificate object and initializes it with the data read from the input stream inStream .The given input stream inStream must contain a single
AgentIdentity certificate.The stream must immediately start with the certificate (and only this data is consumed). |
Collection |
engineGenerateCertificates(InputStream inStream)
Returns a (possibly empty) collection view of the certificates read from the given input stream inStream .
|
CRL |
engineGenerateCRL(InputStream inStream)
Generates a certificate revocation list (CRL) object and initializes it with the data read from the input stream inStream .
|
Collection |
engineGenerateCRLs(InputStream inStream)
Returns a (possibly empty) collection view of the CRLs read from the given input stream inStream .
|
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public AgentIdentityFactory()
Method Detail |
public Certificate engineGenerateCertificate(InputStream inStream) throws CertificateException
inStream
.inStream
must contain a single
AgentIdentity certificate.engineGenerateCertificate
in class CertificateFactorySpi
inStream
- an input stream with the certificate data.CertificateException
- on parsing errors.public Collection engineGenerateCertificates(InputStream inStream) throws CertificateException
inStream
.
engineGenerateCertificates
in class CertificateFactorySpi
inStream
- the input stream with the certificates.CertificateException
- on parsing errors.public CRL engineGenerateCRL(InputStream inStream) throws CRLException
inStream
.
engineGenerateCRL
in class CertificateFactorySpi
inStream
- an input stream with the CRL data.CRLException
- on parsing errors.public Collection engineGenerateCRLs(InputStream inStream) throws CRLException
inStream
.
engineGenerateCRLs
in class CertificateFactorySpi
inStream
- the input stream with the CRLs.CRLException
- on parsing errors.
|
Agent System POND 1.2 (28.2.2002) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |