Code example for KeyStoreException

0
        throw new KeyStoreException(
                "engineSetCertificateEntry is not supported in myKeyStoreSpi"); 
    } 
 
    public void engineDeleteEntry(String alias) throws KeyStoreException {
        throw new KeyStoreException(
                "engineDeleteEntry is not supported in myKeyStoreSpi"); 
    } 
 
    public Enumeration<String> engineAliases() {
        return null; 
    } 
 
    public boolean engineContainsAlias(String alias) {
        if (alias != null)
        { 
            return alias.startsWith("test_engineEntry");
        } 
        return false; 
    }