aboutsummaryrefslogtreecommitdiffstats
path: root/test/func/data
diff options
context:
space:
mode:
authorManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2018-09-28 16:15:07 -0700
committerManjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>2018-10-10 07:57:07 -0700
commitda77b64fa22f30ccdfa18984c28d5054f89723b4 (patch)
tree69b220dc1a7d8ef6fec86a19b517cc03e3e8e7fc /test/func/data
parentc73fe640cbe1e7a0aef0cdfcabe3759544f21ca4 (diff)
func test framework and tests for sshsm
This patch adds test framework and tests for TPM based CA key protection import and signing. Change-Id: I7bdd602f7275dd8613faeced11aad6c09a8aab52 Issue-ID: AAF-527 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
Diffstat (limited to 'test/func/data')
-rw-r--r--test/func/data/caservice/local/org.osaaf.aaf.cm.pkcs111
-rw-r--r--test/func/data/caservice/local/org.osaaf.cm.ca.props11
-rw-r--r--test/func/data/caservice/passphrase-ipass1
-rw-r--r--test/func/data/caservice/passphrase-pin1
-rw-r--r--test/func/data/caservice/sopin.txt1
-rw-r--r--test/func/data/caservice/upin.txt1
-rw-r--r--test/func/data/distcenter/passphrase1
7 files changed, 17 insertions, 0 deletions
diff --git a/test/func/data/caservice/local/org.osaaf.aaf.cm.pkcs11 b/test/func/data/caservice/local/org.osaaf.aaf.cm.pkcs11
new file mode 100644
index 0000000..05fe60f
--- /dev/null
+++ b/test/func/data/caservice/local/org.osaaf.aaf.cm.pkcs11
@@ -0,0 +1 @@
+name = localca
diff --git a/test/func/data/caservice/local/org.osaaf.cm.ca.props b/test/func/data/caservice/local/org.osaaf.cm.ca.props
new file mode 100644
index 0000000..5a3fa83
--- /dev/null
+++ b/test/func/data/caservice/local/org.osaaf.cm.ca.props
@@ -0,0 +1,11 @@
+##
+## org.osaaf.cm.ca.props
+## Properties to access Certifiate Authority
+##
+
+#Certman
+cm_ca.local=org.onap.aaf.auth.cm.ca.LocalCA,/opt/app/osaaf/local/org.osaaf.aaf.cm.pkcs11;0x2222;enc:asFEWMNqjH7GktBLb9EGl6L1zfS2qMH5ZS5Zd90KVT5B9ZyRsqx7Gb73YllO8Hyw
+cm_ca.local.idDomains=org.osaaf
+cm_ca.local.baseSubject=/OU=OSAAF/O=ONAP/C=US
+cm_ca.local.perm_type=org.osaaf.aaf.ca
+
diff --git a/test/func/data/caservice/passphrase-ipass b/test/func/data/caservice/passphrase-ipass
new file mode 100644
index 0000000..163769d
--- /dev/null
+++ b/test/func/data/caservice/passphrase-ipass
@@ -0,0 +1 @@
+csittestphrase
diff --git a/test/func/data/caservice/passphrase-pin b/test/func/data/caservice/passphrase-pin
new file mode 100644
index 0000000..163769d
--- /dev/null
+++ b/test/func/data/caservice/passphrase-pin
@@ -0,0 +1 @@
+csittestphrase
diff --git a/test/func/data/caservice/sopin.txt b/test/func/data/caservice/sopin.txt
new file mode 100644
index 0000000..28d1445
--- /dev/null
+++ b/test/func/data/caservice/sopin.txt
@@ -0,0 +1 @@
+123456789
diff --git a/test/func/data/caservice/upin.txt b/test/func/data/caservice/upin.txt
new file mode 100644
index 0000000..28d1445
--- /dev/null
+++ b/test/func/data/caservice/upin.txt
@@ -0,0 +1 @@
+123456789
diff --git a/test/func/data/distcenter/passphrase b/test/func/data/distcenter/passphrase
new file mode 100644
index 0000000..163769d
--- /dev/null
+++ b/test/func/data/distcenter/passphrase
@@ -0,0 +1 @@
+csittestphrase