package javax.baja.security.crypto; import java.security.Key; import java.security.cert.X509Certificate; import java.util.Date; import java.util.Enumeration; public interface IKeyStore { Enumeration aliases() throws Exception; boolean containsAlias(String str) throws Exception; void deleteEntries(String[] strArr) throws Exception; void deleteEntry(String str) throws Exception; String findCertificate(X509Certificate x509Certificate) throws Exception; X509Certificate getCertificate(String str) throws Exception; String getCertificateAlias(X509Certificate x509Certificate) throws Exception; X509Certificate[] getCertificateChain(String str) throws Exception; Enumeration getCertificates() throws Exception; Date getCreationDate(String str) throws Exception; Key getKey(String str, char[] cArr) throws Exception; boolean isCertificateEntry(String str) throws Exception; boolean isKeyEntry(String str) throws Exception; void save() throws Exception; void setCertificateEntry(String str, X509Certificate x509Certificate) throws Exception; void setKeyEntry(String str, Key key, char[] cArr, X509Certificate[] x509CertificateArr) throws Exception; void setKeyEntry(String str, byte[] bArr, X509Certificate[] x509CertificateArr) throws Exception; int size() throws Exception; }