All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openas2.cert.CertificateFactory Maven / Gradle / Ivy

Go to download

Open source implementation of the AS2 standard for signed encrypted and compressed document transfer

There is a newer version: 2.10.1
Show newest version
package org.openas2.cert;

import java.security.PrivateKey;
import java.security.cert.X509Certificate;

import org.openas2.Component;
import org.openas2.OpenAS2Exception;
import org.openas2.message.Message;
import org.openas2.message.MessageMDN;

public interface CertificateFactory extends Component {
	public static final String COMPID_CERTIFICATE_FACTORY = "certificatefactory";
	
	public X509Certificate getCertificate(Message msg, String partnershipType) throws OpenAS2Exception;
	public PrivateKey getPrivateKey(Message msg, X509Certificate cert) throws OpenAS2Exception;
	public X509Certificate getCertificate(MessageMDN msg, String partnershipType) throws OpenAS2Exception;
	public PrivateKey getPrivateKey(MessageMDN msg, X509Certificate cert) throws OpenAS2Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy