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

org.openas2.cert.AliasedCertificateFactory 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.Key;
import java.security.cert.X509Certificate;
import java.util.Map;

import org.openas2.OpenAS2Exception;


public interface AliasedCertificateFactory extends CertificateFactory {
    public X509Certificate getCertificate(String alias)
        throws OpenAS2Exception;

    public Map getCertificates() throws OpenAS2Exception;

    public void addCertificate(String alias, X509Certificate cert, boolean overwrite)
        throws OpenAS2Exception;

    public void addPrivateKey(String alias, Key key, String password)
        throws OpenAS2Exception;

    public void clearCertificates() throws OpenAS2Exception;

    public void removeCertificate(X509Certificate cert)
        throws OpenAS2Exception;

    public void removeCertificate(String alias) throws OpenAS2Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy