Package org.openas2.cert
Interface CertificateFactory
-
- All Superinterfaces:
Component
- All Known Subinterfaces:
AliasedCertificateFactory
,KeyStoreCertificateFactory
,StorableCertificateFactory
- All Known Implementing Classes:
BaseCertificateFactory
,PKCS12CertificateFactory
public interface CertificateFactory extends Component
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMPID_CERTIFICATE_FACTORY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.security.cert.X509Certificate
getCertificate(MessageMDN msg, java.lang.String partnershipType)
java.security.cert.X509Certificate
getCertificate(Message msg, java.lang.String partnershipType)
java.security.PrivateKey
getPrivateKey(MessageMDN msg, java.security.cert.X509Certificate cert)
java.security.PrivateKey
getPrivateKey(Message msg, java.security.cert.X509Certificate cert)
-
Methods inherited from interface org.openas2.Component
destroy, getName, getParameters, getSession, init
-
-
-
-
Field Detail
-
COMPID_CERTIFICATE_FACTORY
static final java.lang.String COMPID_CERTIFICATE_FACTORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCertificate
java.security.cert.X509Certificate getCertificate(Message msg, java.lang.String partnershipType) throws OpenAS2Exception
- Throws:
OpenAS2Exception
-
getPrivateKey
java.security.PrivateKey getPrivateKey(Message msg, java.security.cert.X509Certificate cert) throws OpenAS2Exception
- Throws:
OpenAS2Exception
-
getCertificate
java.security.cert.X509Certificate getCertificate(MessageMDN msg, java.lang.String partnershipType) throws OpenAS2Exception
- Throws:
OpenAS2Exception
-
getPrivateKey
java.security.PrivateKey getPrivateKey(MessageMDN msg, java.security.cert.X509Certificate cert) throws OpenAS2Exception
- Throws:
OpenAS2Exception
-
-