|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.gv.egovernment.moa.spss.server.config.ConfigurationPartsBuilder
A class that builds configuration data from a DOM based representation.
Constructor Summary | |
ConfigurationPartsBuilder(org.w3c.dom.Element configElem)
Create a new ConfigurationPartsBuilder . |
Method Summary | |
Map |
buildChainingModes()
Build the chaining modes for all configured trust anchors. |
Map |
buildCreateSignatureEnvironmentProfiles(File configRoot)
Build the CreateSignatureEnvironmentProfile s. |
Map |
buildCreateTransformsInfoProfiles(File configRoot)
Build the CreateTransformsInfoProfile s. |
Map |
buildCRLDistributionPoints()
Build the CRL distribution points mapping. |
Map |
buildGenericConfiguration()
Build the mapping of generic configuration properties. |
List |
buildHardwareCryptoModules()
Build the configured hardware crypto modules. |
List |
buildHardwareKeyModules(List keyModules)
Build the configured hardware keys. |
Map |
buildKeyGroupMappings(Map keyGroups,
IssuerAndSerial anonymous)
Build the key group mapping. |
Map |
buildKeyGroups(List keyModules)
Build the key group configuration. |
List |
buildSoftwareKeyModules(List keyModules,
File configRoot)
Build the configured software keys. |
Map |
buildSupplementProfiles(File configRoot)
Build the SupplementProfile s. |
Map |
buildTrustProfiles(File configRoot)
Bulid the trust profile mapping. |
Map |
buildVerifyTransformsInfoProfiles(File configRoot)
Build the VerifyTransformsInfoProfile s. |
String |
getCanonicalizationAlgorithmName()
Returns the canonicalization algorithm name. |
org.w3c.dom.Element |
getConfigElem()
Returns the root element of the MOA configuration. |
int |
getCRLArchiveDuration()
Return the CRL archive duration. |
String |
getDefaultChainingMode()
Returns the default chaining mode from the configuration. |
String |
getDigestMethodAlgorithmName()
Returns the digest method algorithm name. |
List |
getWarnings()
Returns the warnings encountered during building the configuration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConfigurationPartsBuilder(org.w3c.dom.Element configElem)
ConfigurationPartsBuilder
.configElem
- The root element of the MOA configuration.Method Detail |
public org.w3c.dom.Element getConfigElem()
public List getWarnings()
List
of String
s, containing the
warning messages.public String getDigestMethodAlgorithmName()
public String getCanonicalizationAlgorithmName()
public Map buildGenericConfiguration()
public List buildHardwareCryptoModules()
public List buildHardwareKeyModules(List keyModules)
The
- keyModules that the configuration already knows about. To
prevent multiple key modules with the same ID.public List buildSoftwareKeyModules(List keyModules, File configRoot)
The
- keyModules that the configuration already knows about. To
prevent multiple key modules with the same ID.configRoot
- The directory containing the main configuration file.
Used to resolve keystore files configured using a relative URI.public Map buildKeyGroups(List keyModules)
keyModules
- The KeyModule
s that the configuration
knows about. Used to check for errors in the configuration.public Map buildKeyGroupMappings(Map keyGroups, IssuerAndSerial anonymous)
keyGroups
- The available key groups.anonymous
- The IssuerAndSerial
to be used for key group
mappings not protected by a certificate.public String getDefaultChainingMode()
public Map buildChainingModes()
public Map buildCRLDistributionPoints()
public int getCRLArchiveDuration()
public Map buildCreateTransformsInfoProfiles(File configRoot)
CreateTransformsInfoProfile
s.configRoot
- The directory of the main configuration file. Used for
lookup of profiles with relative file names.public Map buildCreateSignatureEnvironmentProfiles(File configRoot)
CreateSignatureEnvironmentProfile
s.configRoot
- The directory of the main configuration file. Used for
lookup of profiles with relative file names.public Map buildVerifyTransformsInfoProfiles(File configRoot)
VerifyTransformsInfoProfile
s.configRoot
- The directory of the main configuration file. Used for
lookup of profiles with relative file names.public Map buildSupplementProfiles(File configRoot)
SupplementProfile
s.configRoot
- The directory of the main configuration file. Used for
lookup of profiles with relative file names.public Map buildTrustProfiles(File configRoot)
configRoot
- The absolute path to the main configuration file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |