Modify NetconfKeystoreAdapter to expose private keys and certificates 00/68000/10
authorLiGuosheng <li.guosheng6@zte.com.cn>
Wed, 7 Feb 2018 08:24:56 +0000 (16:24 +0800)
committerJakubToth <jakub.toth@pantheon.tech>
Tue, 20 Feb 2018 19:49:55 +0000 (19:49 +0000)
commit168c9371871390f6f0d1dcb4c948901124c798c6
tree98c8513e5a8d12713acd09a5074e39b2d5b9433d
parent9d43aa797ac403d645b3ac4535cca5916730d64c
Modify NetconfKeystoreAdapter to expose private keys and certificates

Supply a method of using private keys and trusted certificates to
create JDK KeyStore. Improve code and test cases.

Change-Id: I56dff8cec16eeb320b4765a5d8c5bd3ffe562556
Signed-off-by: Li guosheng <li.guosheng6@zte.com.cn>
netconf/sal-netconf-connector/src/main/java/org/opendaylight/netconf/sal/connect/netconf/sal/NetconfKeystoreAdapter.java
netconf/sal-netconf-connector/src/test/java/org/opendaylight/netconf/sal/connect/netconf/sal/NetconfKeystoreAdapterTest.java [new file with mode: 0644]