package com.l7tech.security.cert;

import com.l7tech.objectmodel.EntityHeader;
import com.l7tech.objectmodel.EntityManager;
import com.l7tech.objectmodel.FindException;
import java.math.BigInteger;
import java.security.cert.CertificateException;
import java.util.Collection;
import java.util.List;
import javax.security.auth.x500.X500Principal;

public interface TrustedCertManager extends EntityManager<TrustedCert, EntityHeader> {
   Collection<TrustedCert> findBySubjectDn(String var1) throws FindException;

   List<TrustedCert> findByThumbprint(String var1) throws FindException;

   List<TrustedCert> findBySki(String var1) throws FindException;

   List<TrustedCert> findByIssuerAndSerial(X500Principal var1, BigInteger var2) throws FindException;

   Collection<TrustedCert> findByName(String var1) throws FindException;

   Collection<TrustedCert> findByTrustFlag(TrustedCert.TrustedFor var1) throws FindException;

   final class UnknownCertificateException extends CertificateException {
      static final long serialVersionUID = -3498361744374118586L;

      public UnknownCertificateException(String var1, Throwable var2) {
         super(var1, var2);
      }

      public UnknownCertificateException(String var1) {
         super(var1);
      }
   }
}
