Class CVCCAGenerator
Object
|
+--CVCCAGenerator
- class
CVCCAGenerator
Defined in CVCCAGenerator.js
Constructor Summary |
CVCCAGenerator(<Crypto> crypto, <CVCertificateStore> certstore)
Generate a complete CVC PKI setup for testing purposes
|
Method Summary |
void
|
createCVCA(<String> path, <Object> policy)
Create a CVCA at the given path and with the defined policy.
|
void
|
createDVCA(<String> path, <Object> policy)
Create a DVCA at the given path and with the defined policy.
|
void
|
createTerminal(<String> path, <Object> policy)
Create a terminal at the given path and with the defined policy.
|
void
|
log(<String> msg)
Log message
|
<static> void
|
setup()
Setup EAC PKI
|
certstore
Object certstore
crypto
Object crypto
keyspec
Object keyspec
taAlgorithmIdentifier
Object taAlgorithmIdentifier
verbose
Object verbose
CWD
<static> Object CWD
CVCCAGenerator
CVCCAGenerator(<Crypto> crypto, <CVCertificateStore> certstore)
Generate a complete CVC PKI setup for testing purposes
Parameters:
crypto
- the crypto provider to use
certstore
- place to store keys and certificates
createCVCA
void createCVCA(<String> path, <Object> policy)
Parameters:
path
- a path of certificate holder names
policy
- the certificate policy
createDVCA
void createDVCA(<String> path, <Object> policy)
Create a DVCA at the given path and with the defined policy.
Parameters:
path
- a path of certificate holder names
policy
- the certificate policy
createTerminal
void createTerminal(<String> path, <Object> policy)
Create a terminal at the given path and with the defined policy.
Parameters:
path
- a path of certificate holder names
policy
- the certificate policy
log
void log(<String> msg)
setup
<static> void setup()
Documentation generated by
JSDoc on Tue Sep 3 22:29:43 2013