
org.openas2.cert.CertificateNotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openas2-server Show documentation
Show all versions of openas2-server Show documentation
Open source implementation of the AS2 standard for signed encrypted and compressed document transfer
package org.openas2.cert;
import java.security.cert.X509Certificate;
import org.openas2.OpenAS2Exception;
public class CertificateNotFoundException extends OpenAS2Exception {
/**
*
*/
private static final long serialVersionUID = 1L;
private String alias;
private String partnershipType;
public CertificateNotFoundException(String partnershipType, String alias) {
super("Type: " + partnershipType + ", Alias: " + alias);
this.partnershipType = partnershipType;
this.alias = alias;
}
public CertificateNotFoundException(X509Certificate cert) {
super("Certificate not in store: " + cert.toString());
}
public void setAlias(String string) {
alias = string;
}
public String getAlias() {
return alias;
}
public void setPartnershipType(String string) {
partnershipType = string;
}
public String getPartnershipType() {
return partnershipType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy