TLS support - configurable passwords
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / connection / TlsConfiguration.java
index 54298294dca32197f6b1f40e7f7399dcae5dd85d..00e1a4109d3dc11af78e52ee5ab49e28fb0a83ab 100644 (file)
@@ -39,12 +39,27 @@ public interface TlsConfiguration {
     public KeystoreType getTlsTruststoreType();\r
 \r
     /**\r
-     * @return keystore path type (classpath or path)\r
+     * @return keystore path type (CLASSPATH or PATH)\r
      */\r
     public PathType getTlsKeystorePathType();\r
 \r
     /**\r
-     * @return truststore path type (classpath or path)\r
+     * @return truststore path type (CLASSPATH or PATH)\r
      */\r
     public PathType getTlsTruststorePathType();\r
+\r
+    /**\r
+     * @return password protecting specified keystore\r
+     */\r
+    public String getKeystorePassword();\r
+\r
+    /**\r
+     * @return password protecting certificate\r
+     */\r
+    public String getCertificatePassword();\r
+\r
+    /**\r
+     * @return password protecting specified truststore\r
+     */\r
+    public String getTruststorePassword();\r
 }\r