From 5db985b08760a12f0ccfe27f4872cb8806831175 Mon Sep 17 00:00:00 2001
From: Patrick Diligent <patrick.diligent@forgerock.com>
Date: Wed, 22 Jul 2015 12:37:35 +0000
Subject: [PATCH] OPENDJ-1056 CR-7615

---
 opendj-server-legacy/src/main/java/org/opends/server/api/KeyManagerProvider.java |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/api/KeyManagerProvider.java b/opendj-server-legacy/src/main/java/org/opends/server/api/KeyManagerProvider.java
index d7b086c..e6bfe18 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/api/KeyManagerProvider.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/api/KeyManagerProvider.java
@@ -22,7 +22,7 @@
  *
  *
  *      Copyright 2006-2008 Sun Microsystems, Inc.
- *      Portions Copyright 2014 ForgeRock AS
+ *      Portions Copyright 2015 ForgeRock AS
  */
 package org.opends.server.api;
 import org.forgerock.i18n.LocalizableMessage;
@@ -76,6 +76,29 @@
       throws ConfigException, InitializationException;
 
 
+  /**
+   *
+   * Verifies that an alias is defined in the scope of this Key Manager.
+   *
+   * @param alias
+   *          The alias to check.
+   * @return true if the alias exists, false otherwise
+   */
+  public boolean containsKeyWithAlias(String alias)
+  {
+    return true;
+  }
+
+  /**
+   *
+   * Verifies that the keystore has at least one usable key.
+   *
+   * @return true if the keystore has at least one usable key, false otherwise
+   */
+  public boolean containsAtLeastOneKey()
+  {
+    return true;
+  }
 
   /**
    * Indicates whether the provided configuration is acceptable for

--
Gitblit v1.10.0