diff options
author | Abhishek Koneru <akoneru@redhat.com> | 2014-04-09 13:59:26 -0400 |
---|---|---|
committer | Abhishek Koneru <akoneru@redhat.com> | 2014-04-16 17:24:57 -0400 |
commit | 6de5b60438f0edeb3d18f715d90a94191bd05cc8 (patch) | |
tree | 11e16238fe3c181ac43cafdcf9c244a181e461af /base/common/key | |
parent | 8be0ac12ab0c1ff77c2b93a363352fe99aea5343 (diff) | |
download | pki-6de5b60438f0edeb3d18f715d90a94191bd05cc8.tar.gz pki-6de5b60438f0edeb3d18f715d90a94191bd05cc8.tar.xz pki-6de5b60438f0edeb3d18f715d90a94191bd05cc8.zip |
Fixes for comments on patches 87 and 89
Diffstat (limited to 'base/common/key')
-rw-r--r-- | base/common/key/templates/archiveKey.xml | 16 | ||||
-rw-r--r-- | base/common/key/templates/generateKey.xml | 11 | ||||
-rw-r--r-- | base/common/key/templates/retrieveKey.xml | 14 |
3 files changed, 41 insertions, 0 deletions
diff --git a/base/common/key/templates/archiveKey.xml b/base/common/key/templates/archiveKey.xml new file mode 100644 index 000000000..6f8a01add --- /dev/null +++ b/base/common/key/templates/archiveKey.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<KeyArchivalRequest> + <Attributes> + <Attribute name="description">Template for submitting a key archival request</Attribute> + <Attribute name="clientKeyID"></Attribute> + <Attribute name="dataType">symmetricKey/passphrase/asymmetricKey</Attribute> + <Attribute name="keyAlgorithm"></Attribute> + <Attribute name="keySize">0</Attribute> + <Attribute name="algorithmOID"></Attribute> + <Attribute name="symmetricAlgorithmParams">Base64 encoded NonceData</Attribute> + <Attribute name="wrappedPrivateData">Base64 encoded session key wrapped secret</Attribute> + <Attribute name="transWrappedSessionKey">Base64 encoded transport key wrapped session key</Attribute> + <Attribute name="pkiArchiveOptions">Base 64 encoded PKIArchiveOptions object</Attribute> + </Attributes> + <ClassName>com.netscape.certsrv.key.KeyArchivalRequest</ClassName> +</KeyArchivalRequest> diff --git a/base/common/key/templates/generateKey.xml b/base/common/key/templates/generateKey.xml new file mode 100644 index 000000000..25854e503 --- /dev/null +++ b/base/common/key/templates/generateKey.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<SymKeyGenerationRequest> + <Attributes> + <Attribute name="description">Template for submitting a request for generating a symmetric key.</Attribute> + <Attribute name="clientKeyID"></Attribute> + <Attribute name="keyAlgorithm">[AES/DES/DES3/DESede/RC2/RC4]</Attribute> + <Attribute name="keySize">128</Attribute> + <Attribute name="keyUsage">wrap,unwrap,sign,verify,encrypt,decrypt</Attribute> + </Attributes> + <ClassName>com.netscape.certsrv.key.SymKeyGenerationRequest</ClassName> +</SymKeyGenerationRequest> diff --git a/base/common/key/templates/retrieveKey.xml b/base/common/key/templates/retrieveKey.xml new file mode 100644 index 000000000..4373e0390 --- /dev/null +++ b/base/common/key/templates/retrieveKey.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<KeyRecoveryRequest> + <Attributes> + <Attribute name="description">Template for submitting a key retrieval or key recovery request.</Attribute> + <Attribute name="keyId">1</Attribute> + <Attribute name="requestId">1</Attribute> + <Attribute name="nonceData">Base64 encoded NonceData</Attribute> + <Attribute name="passphrase">Passphrase to encrypt the secret with/Passphrase for the PKCS12 file returned</Attribute> + <Attribute name="sessionWrappedPassphrase">Base64 encoded session key wrapped passphrase</Attribute> + <Attribute name="transWrappedSessionKey">Base64 encoded transport key wrapped session key</Attribute> + <Attribute name="certificate">Base64 certificate used for recoring the key.</Attribute> + </Attributes> + <ClassName>com.netscape.certsrv.key.KeyRecoveryRequest</ClassName> +</KeyRecoveryRequest> |