Per-File Keys
Global Keys
Global keys define the platform-specific sections of the JAR information file. T here are two global keys:
ForwardCom patible and Platforms.
ForwardCom patible is an optional key that specifies a list of system architectures and operating
systems that are compatible with later versions of the same architectures and operating systems. If the
platform that m odutil is installing the module on is not specified by the Platforms key, then the
ForwardCom patible list is checked for any platforms that have the same OS and architecture in an
earlier version. If one is found, its attributes are used for the current platform.
The ForwardCom patible key uses the following format:
ForwardCompatible { Solaris:5.5.1:sparc }
The platforms listed between the braces must have entries within the Platforms key.
Platform s is a required key that specifies a list of platforms. Each entry in the list is itself a key-value
pair: the key is the name of the platform and the value list contains various attributes of the platform. The
ModuleName, ModuleFile, and Files attributes must be specified for each platform unless an
EquivalentPlatform attribute is specified. For more information, see Per-Platform Keys.
The platform string is in the following format:
system name:OS release:architecture
The m odutil program obtains the system name, release number, and architecture values from the
system on which the m odutil tool is running. T he following system names and platforms are currently
recognized:
HP-UX (hppa1.1)
Linux (x86) is x86_64 recognized?
Solaris (sparc)
For example:
Linux:5.2.0:x86
Per- Platform Keys
These keys have meaning only within an entry in the Platforms list.
ModuleName is a required key that specifies the common name for the module. T his name acts as a
reference to the module for Red Hat Communicator, the m odutil tool, servers, or any other program
that uses the Red Hat security module database.
ModuleFile is a required key that names the PKCS #11 module file (.so) for this platform. T he file
name should be a path that is relative to the JAR file location.
DefaultMechanism Flags is an optional key that specifies mechanisms for which this module is a
default provider. T his key-value pair is a bitstring specified in hexadecimal (0x) format. It is constructed
as a bitwise OR of the string constants listed in T able 4.3, “Mechanisms and Default Mechanism Flags”.
Omitting the DefaultMechanism Flags entry causes the value to to default to 0x0.
Kommentare zu diesen Handbüchern