If you have MS-Word or Word Perfect, you can download the original Rich Text Format (RTF) version of the document.
|
ISO International Organisation for Standardisation
IEC International Electrotechnical Commission JTC1 Information Technology SC27 Security Techniques WG1 Requirements, Security Services, and Guidelines | |
| TITLE | Output from Seoul Meeting - Security Information Objects |
| SOURCE | Editor |
| PROJECT | JTC1.27.13 |
| STATUS | For circulation for NB study and comment. |
0. Introduction
1. Scope and Field of Application
2. Normative References
3. Definitions
4. Abbreviations
5. Security Information Object Classes
6. Guidelines for the Specification of SIOs
EDITOR'S NOTE: An electronic mailing list for discussion of security labelling exists. This is relevant to Annex A.2 and to other parts of this Working Draft. To join the discussion, send a message to listserv@daedalus.dra.hmg.gb, saying subscribe sec-labelling in the body of the message. Any proposed changes to this Working Draft arising from the discussion must still be formally submitted through National Bodies.
The purpose of this working draft (WD) standard on Security Information Objects (SIO) is to provide object definitions which are commonly needed in more than one security standard to avoid multiple and different definitions of the same functionality. Ths SIO WD references existing definitions in other International Standards. Such external definitions are needed, or are likely to be needed, in more than one International Standard to avoid duplication and different definitions for the same functionality.
This WD contains methods and guidelines for defining basic security-related information objects and for constructing new ones from existing components. It also provides a collection of generic and specific SIO definitions. SIO definitions are organizedinto two annexes as follows:
The motivation for SIOs is that the security information contained is used for different tasks or application functions, but nevertheless similar methods are used for their construction, processing, and storage. Examples of such common methods are:
the verification of the validity, integrity or authenticity of security information.
The scope of this International Standard includes:
a) the definition of guidelines and a method for specifying the abstract syntax of generic and specific Security Information Objects;
b) generic and specific Security Information Object specifications;
c) a partial definition of the semantics of the various component parts of security information object classes.
The scope of this International Standard covers only the "statics", of SIOs through syntactic definitions in terms of ASN.1 descriptions and additional semantic explanations. It does not cover the "dynamics" of SIOs, for example rules relating to their ceation and deletion.
The following standards contain provisions which, through reference in this text, constitute provisions of this International Standard. At the time of publication, the editions indicated were valid. All standards are subject to revision, and parties to agreements based on this International Standard are encouraged to invetigate the possibility of applying the most recent editions of the standards indicated below. Members of ISO maintain registers of currently valid International Standards.
ISO 7498- 2, Information Processing Systems - Open Systems Interconnection - Basic Reference Model - Part 2: Security Architectre.
ISO/IEC nnnn- 1, Information Technology - Security Exchange Application Service Element - Part 1: Security Exchange Model and Specification Framework
ISO 8731- 1, Approved Algorithms for Message Authentication, Part 1: DEA
ISO/IEC 8824, Information Technology - Open Systems Interconnection - Abstract Syntax Notation One (ASN.1) (1992 revision) Parts 1 to 4
ISO/IEC 8825, Information Technology - Open Systems Interconnection - Abstract Syntax Notation One (ASN.1) (1992 revision) Specification of ASN.1 Encoding Rules, Parts 1 to 4
ISO/IEC 9594, Information Technology - - The Directory
ISO/IEC 1018,1 Series: The Security Frameworks
ISO/IEC 10745, Upper Layer Security Model
This standard uses the following terms drawn from the respective International Standards:
· digital fingerprint ISO/IEC 10181- 2
· digital signature ISO 7498- 2, ISO 9796
· information object ISO/IEC 8824 (1992 revision)
· information object class ISO/IEC 8824 (1992 revision)
· key ISO 7498- 2
· label ISO 7498- 2
· object identifier ISO/IEC 8824 (1992 revision)
· seal ISO/IEC 10181- 1
· security certificate ISO/IEC 10181- 1
· security label ISO 7498- 2
· security token ISO/IEC 10181- 1
For the purposes of this International Standard, the following definitions apply:
security information object (SIO) class: one case of an information object class (as defined in ISO/IEC 8824), which has a secuity- related purpose.
specific SIO class: a SIO class in which the data types for all components are fully specified.
generic SIO class: a SIO class in which the data types for one or more of the components are not fully specified.
Security Information Object (SIO): a member of an SIO class.
ACI
AEF
AI Authentication Information
API Application Programming Interface
ASN.1 Abstract Syntax Notation One
AUC Authentication Certificate
CV Control Value
DN
GPKC Generalised Public Key Certificate
MAC Mandatory Access Control
MD
PAC Privilege Attribute Certificate
PDU Protocol Data Unit
PV Privilege Value
RDN
SIO Security Information Object
UTC Universal Co-ordinated Time
A security information object (SIO) class is one case of an information object class (as defined in ISO/IEC 8824) which has a security_related purpose. An SIO class definition comprises:
A generic SIO class corresponds to a family of specific SIO classes.
Guidelines to be followed in specifying an SIO are given below.
Consider the following aspects of the SIO, whether they are required and, if so, in what form:
Security Information Objects may be defined as part of this standard, as part of specific security standards, or as implementor/vendor agreements from regional workshops. Regardless of the source the defining documentation for an SIO shall contain the fllowing parts:
· a description of the SIO,
· an explanation of the usage of the SIO, and
· a description of the components of the SIO.
The description of the components of the SIO includes the ASN.1 specification and the object identifier of the object class being defied.
An SIO can be constructed from components, and/or from groups of components that have already been combined using security transformations. In the following, the term component is used to denote anything to which a security transformation may be applied
This WD defines the following transformations for use in constructing SIOs:
signing;
sealing;
encipherment;
hashing.
Binding of various SIOs, components of SIOs, and SIOs to data units or other non-security elements can be achieved by applying any of the security transformations listed above. This is useful in insuring that the information carried by an SIO is properl bound to the corresponding resource.
Editor's Note: The construction operations listed do not state how new SIOs are actually defined. Additional text is needed.
A component of any type may be signed by means of a digital signature algorithm. The signature itself is a component that is concatenated with the component being signed.
The signature component optionally includes the identity of the signing authority, the algorithm used, its mode of operation and a reference to the key used in the process.
A component of any type may be sealed by means of a symmetric cryptographic algorithm, e.g., a message authentication code as defined in ISO 8731- 1. The seal itself is a component that is concatenated with the component being sealed.
The seal component optionally includes the name of the sealing authority, and an identifier. The algorithm used and reference to the key(s) used may be implied by the authority name.
A component may be enciphered to protect its content from disclosure. Encipherment may use either a symmetric or an asymmetric algorithm. The encipherment concatenates a cryptographic service component with the enciphered object. The cryptographic service component identifies parameters, such as algorithm, mode of operation, and keys, required to decipher the object.
A component may be hashed to insure that unauthorized modification or truncation has not occurred. The use of a hashing function requires that the function and any other parameters used in applying it be identified. The resulting hash and a hashing serice component identifying the parameters used in its application shall be concatenated with the object.
Identifier ::= CHOICE{
objectId OBJECT IDENTIFIER,
directoryName Name, - - from the Directory standard
printableName PRINTABLE STRING,
octets OCTET STRING,
int INTEGER,
bits BIT STRING,
pairedName [0] SEQUENCE{
printableName PRINTABLE STRING,
uniqueName OCTET STRING
}
}
The generic security label is a collection of one or more named tag sets. These named tag sets contain a set of tags carrying security information preceded by a security policy identifier. That policy identifier points to a register entry where the tag set and its associated semantics are defned. The security tags are intended to carry label attributes of the data being exchanged. Label attributes may be represented in several ways, thus the need for several tag types.
Failure to recognize a named tag set while scanning the label may constitute a security relevant event. Indication of occurrence and the ability to log this and all security relevant events, shall be provided by all implementations. The determination of the action to follow upon detection of a possible security relevant evet is a policy decision outside the scope of this standard.

Figure A.1: Named Tag Set
As shown in Figure A.1, each label may contain multiple named tag sets. Each set has a tag set name and one or ore security tags (a tag set). Tag set names are ASN.1 OBJECT IDENTIFIERs. There are five security tag types which can be combined to carry security-related data. The data is used by protocol entities to maintain the security condition of a resource of he system (e.g., communications system, data file, application process).
Every label must carry, at least, one Named Tag Set. The use of multiple Named Tag Sets is determined by the security policy enforced and restrictions imposed by the protocol using the labels. A possible reason for using multiple Named Tag Sets on a single label is a requirement for protection under multiple security policies. This may be useful in maintaining an appropriate degree of protection when data is shared across securitydomain boundaries.
The six security tag types defined are not numbered in sequential order to maintain compatibility with labeling schemes on multi-protocol environments. Tag Types 1 and 6 are syntactically identical, only the interpretation of the bit settings is different.
Tag Type 1, the Restrictive Bit Map Type, contains its type, a non-negative integer, and a bit string. The non-negative integer conveys a security level, a hierarchical label attribute. The higher the value of this attribute the higher the security levl of the labeled PDU. This security level could be used to restrict access so that only PDUs with security labels lower or equal to the highest level of the receiving end will be accepted. Restrictions may be extended to not accepting PDUs with labels lower than the lowest level for the receiving end, and so on.
The bit string is used to convey a set of non-hierarchical attributes that apply to the labeled PDU. A bit is assigned to every security policy-defined restrictive attribute. Bits corresponding to restrictive attributes that apply will be set to 1, othrwise bits are set to 0. Access could be restricted to only those PDUs whose set of attributes is a subset of the attributes for the receiving end. Security compartments and caveats are examples of restrictive label attributes.
Tag Type 2, the Enumerated Type, contains its type, and one or more non-negative integers. The non-negative integer conveys a security level, a hierarchical label attribute. The higher the value of this attribute the higher the security level of the labled PDU. Each of the integers that follow represent a non-hierarchical attribute that applies to the labeled PDU. This is an alternative to the bit-representation in Tag Types 1 and 6. It is intended to minimize label length in cases where only a few attributes out of a large set apply to the PDU. Attributes enumerated by tags of this type could be restrictive (e.g, compartments) or permissive (e.g., release permissions). Access could be restricted to only those PDUs whose set of attributes is a subset of the attributes for the receiving end. Alternatively, a PDU could be accepted if the receiving end belongs toany of the release groups in the release permission list on the PDU label. The registered tag set semantics indicate how the label attributes on tags of this type are interpreted.
<3>A.2.2.3 Security Tag Type 5
Tag Type 5, the Range Type, contains its type, and one or more non-negative integers. The non-negative integer conveys a security level, a hierarchical label attribute. The higher the value of this attribute the higher the security level of the labeledPDU. Each of the integers that follow appear in pairs and represent, respectively, the upper and the lower bounds of ranges of non-hierarchical attributes that apply to the labeled PDU. This is an alternative to the bit-representation in Tag Types 1 and 6. It is intended to minimize label length n cases where all attributes beginning with upper-bound and ending with lower-bound apply to the PDU. A single tag may indicate multiple label attribute ranges. These ranges shall be listed in descending numerical order and shall not overlap. Each uppr and lower bound attribute is indicated by a fixed size number. Attributes identified by tags of this type could be restrictive (e.g., compartments) or permissive (e.g., release permissions). Access could be restricted to only those PDUs whose a set of ttributes is a subset of the attributes for the receiving end. Alternatively, a PDU could be accepted if the receiving end belongs to any of the release groups in the release permission list on the PDU label.
Tag Type 6, the Permissive Bit Map Type, contains its type, a non-negative integer, and a bit string. The non-negative integer conveys a security level, a hierarchical label attribute. The higher the value of this attribute the higher the security level of the labeledPDU. The bit string is used to convey a set of non-hierarchical attributes that apply to the labeled PDU. A bit is assigned to every security policy-defined permissive attribute.
Release markings are examples of permissive label attributes. Bits corresponding to types or groups of entities that are granted access to the PDU are set to 0, all other bits are set to 1. For example, the label on PDUs to be available only to members of an organization's Personnel Office will have the bit assigned to the Pesonnel Office set to 0 and all others set to 1.
A PDU can be accepted if the receiving end belongs to any of the release groups in the release permission list on the PDU label.
Tag Type 7, the Free Form Type, is intended as a wild-card tag type that may carry any user-defined type of data appropriate for use with the protocol handling the labels. The full specification of the format of this field shall be provided via registration. Examples of data that may be conveyed wih this Tag Type are human/machine readable time stamps, human-readable policy identifiers, and privacy marks.
Tag Type 8 is the Date Range Type.
Text required.
GenericSecurityLabel ::= SET OF NamedTagSet
NamedTagSet ::= SEQUENCE {
tagSetName TagSetName,
securityTags SEQUENCE OF SecurityTag
}
TagSetName ::= OBJECT IDENTIFIER
SecurityTag ::= CHOICE {
-- Type 1 - for restrictive label attributes
restrictivebitMap [1] IMPLICIT SEQUENCE {
securityLevel LabelAttribute,
attributeFlags BIT STRING
}
-- Type 2 - label attributes by number
enumeratedAttributes [2] IMPLICIT SEQUENCE {
securityLevel LabelAttribute,
attributeList SET OF LabelAttribute
}
-- Type 5 - all label attributes in the range(s)
rangeSet [5] IMPLICIT SEQUENCE {
securityLevel LabelAttribute,
rangeList SET OF LabelAttributeRange
}
-- Type 6 - for permissive label attributes
permissivebitMap [6] IMPLICIT SEQUENCE {
securityLevel LabelAttribute,
attributeFlags BIT STRING
}
-- Type 7 - format specified via registration
freeFormField [7] IMPLICIT ANY DEFINED BY TagSetName
}
LabelAttributeRange ::= SEQUENCE {
upperBound LabelAttribute,
lowerBound LabelAttribute
}
LabelAttribute ::= INTEGER
EDITOR'S NOTE: A definition of Security Attribute which both exists and is suitable is being sought. If none is found, the following will appear in the text:
A Security Attribute is an attribute whose value affects the security state of a system, and which therefore needs to be protected in storage and interchange. A Security Attribute can be applied to any entity which is the subject of a security policy.
The attribute syntax for use with security attributes is:
SecurityAttribute ::= SEQUENCE {
attributeType Identifier,
attributeValue SET OF SEQUENCE {
definingAuthority [0] Identifier OPTIONAL,
securityValue [1] ANY DEFINED BY attributeType
}
}
This allows security attributes to be directly stored as normal in the Directory if the choice within Identifier is OBJECT IDENTIFIER. If other choices are made, encapsulation in an outer Directory attribute structure would first be necessary.
Editor<<'s Note - The security values that are permitted for a particular attribute type are determined by the policy, in force in the security domain in which the attribute is to be used. These aspects of policy can be standardized by identifying commonly used sets of attribute values for a particular attribute type; one exmple of this might be the set of national hierarchic security markings for a particular country. There can be different distinct value sets defined for an attribute type according to the aspect of the access control policy it is being used to support. he definingAuthority field is used to define the particular value set that pertains for a use of an attribute type. The definition of particular value sets is out of scope of this document.
In a particular security domain there may be defined a security policy which demands that multiple sets of a given attribute type be supported, each set belonging to a different defining security authority, and being used to support a different aspect ofthe policy. This means that a distinction must be possible between attributes of the same type belonging to different sets. The authority field enables this distinction to be made. An example might be a system supporting two distinct label hierarchies, the first being a national government hierarchy, the second being company seniority hierarchy. From an implementation point of view an application that supports multiple hierarchies is not concerned with what authorities they belong to but only that there are two distinguishable hierarchies.
Some attribute types are related in that they have complementary functions within the same security policy. For example different types are used to specify upper and lower bounds of the same kind of access privilege. By separating type from authority an Authorization Service can ore easily see the correspondences.
Text is required.
Text is required.
This is an attribute which grants access of the type accessType to the object(s) defined by objectDefiner.
securityValue Syntax for this attribute type is:
Capability Type1 ::= SEQUENCE {
objectDefiner ObjectDefiner,
accessType AccessDefiner
}
ObjectDefiner ::= Identifier
AccessDefiner ::= IntegerOrString
IntegerOrString ::= CHOICE {
recognisableValue PRINTABLE STRING,
codedValue BIT STRING,
systemValue INTEGER
}
This identity may be used to combine a number of individual identities, possibly for use with an access control list. This identifies one or more groups of which an entity is a member.
securityValue Syntax for this attribute type is:
Security- group ::= SEQUENCE OF Identifier
This attribute controls read access to an object in terms of a hierarchic measure of the level of confidentiality of the object as folows:
Read access is permitted (subject to any other constraints that might apply) only if the hierarchic level in the initiator's Privilege Attribute is at least as high as that in the target's Control Attribute.
securityValue Syntax for this attribute type is:
ConfidentialityHierarchyClass ::= INTEGER
This attribute controls write access to an object in terms of a hierarchic measure of the level of integrity in the initiator's Privilege Attribute. It must be at least as high as that in the target's Control Attribute.
securityValue Syntax for this attribute type is:
Security- integrity- hierarchy ::= INTEGER
This attribute defines the minimum hierarchic confidentiality level at which an initiator is permitted to operate. For any particular initiator it appears paired with Confidentiality Hierarchy attribute.
securityValue Syntax for this attribute type is:
ConfidentialityHierarchyClassMinimum ::= INTEGER
This attribute defines the minimum hierarchic integrity level that an initiator at which an initiator is permitted to operate. For any particular initiator it appears paired with an Integrity Hierarchy attribute.
securityValue Syntax for this attribute type is:
Security- integrity- hierarchy- minimum ::= INTEGER
This attribute defines the minimum need- to- know privileges with which an initiator is permitted to operate. For any particular initiator it appears paired with a Need- To- Know attribute.
securityValue Syntax for this attribute type is:
Security- need- to- know- minimum ::= PrintableString
This attribute defines the minimum Confidentiality Class privilege with which an initiator is permitted to operate. For any particular initiator it appears paired with a Confidentiality Class attribute.
securityValue Syntax for this attribute type is:
SecurityConfidentialityClassMinimum ::= SEQUENCE OF PrintableString
This attribute defines the minimum Integrity Class privilege with which an initiator is permitted to operate. For any particular initiator it appears paired with an Integrity Class attribute.
securityValue Syntax for this attribute type is:
Security- integrity- class- minimum ::= PrintableString
This attribute controls read access to an object in terms of the initiator's need- to- know about any of the categories of interest associated with the target, as follows:
Let the set of need- to- know categories of interest in the Need- To- Know Privilege Attribute associated with the subject initiator be I- Need; let the set in the Need- To- Know Control Attribute associated with the target be T- Need. Read access is permitted (subject to any other constraints that might apply) only if the intersection of I- Need and T- Need is not empty.
securityValue Syntax for this attribute type is:
Security- need- to- know ::= SEQUENCE OF PrintableString
Text is required.
Text is required.
This attribute controls write access to an object in terms of categories of interest associated with the object as follows:
Let the set of categories of interest in the Integrity Class Privilege Attribute associated with the initiator be I- Int; let the set in the Integrity Class Control Attribute associated with the target be T- int. Write access is permitted (subject to any other constraints that might apply) only if I- Int includes T- Int.
securityValue Syntax for this attribute type is:
Security- integrity- class ::= SEQUENCE OF PrintableString
This attribute indicates the role that an entity is currently using in the distributed system.
securityValue Syntax for this attribute type is:
Security- role ::= Identifier
Text is required.
Text is required.
Text is required.
Text is required.
Text is required.
Text is required.
Text is required.
Text is required.
This attribute is used to identify uniquely for authentication purposes an active entity in the distributed system. This could be a human or an object.
securityValue Syntax for this attribute type is:
AuthenticationIdentity ::= Identifier
This attribute indicates to which authentication level the entity has been authenticated. It may also indicate the type of authentication that has been carried out.
securityValue Syntax for this attribute type is:
AuthenticationLevel ::= INTEGER
Text is required.
Text is required.
Text is required.
securityValue Syntax for this attribute type is:
NonRepudiationIdentiy ::= Identifier
Text is required.
Text is required.
The attribute is used when accounting is required and the other attributes do not give the required granularity.
securityValue Syntax for this attribute type is:
AccountingIdentity ::= Identifier
This identity would be used when auditing is to be carried out on a different identity from that used for access control.
securityValue Syntax for this attribute type is:
AuditIdentity ::= Identifier
The data related to a key are conveyed, for security or security management purposes, in a key package that should be generic enough to be used whatever the algorithm (with public or secret key algorithms or with compound use of secret and public components). The definition of this key package is preferaly as consistent as possible with the definition of the key package used for the Key Management Framework under standardization in SC27, although it must be understood that it addresses a wider range of uses.
The information package containing the key or elements necessary to form the key can be used to:
Establish a cryptographic key for a single use (immediate or delayed). For example, the key can be used to encipher/decipher a message to which the package is bound by a logical reference.
Distribute a new key to one or several users by a management authority. For this use, information such as authority name, validity, and authority signature can be added to the generic information used in the previous clause. A password may be a specific case of a cryptographic key.
Register and safeguard stored keys. This use overlaps with the definition of a public key certificate as a possible instance of a key package.
Editor's Note: It is an open issue whether the key packages can be handled at the Application Program Interface (API) of system security objects (as defined in GULS) as well as at the protocol interface. If APIs are considered, then a fourth use would e:
Handling a key information structure as a parameter of a security service request from the application layer.
The Key Package intended to an entity A can include the following sets of information according to its use:
The secure transfer information includes:
The key management information includes:
The key information includes:
Text is required.
Text is required.
Text is required.
Text is required.
AlgorithmIdentifier ::= SEQUENCE {
algorithm OBJECT IDENTIFIER, - - the algorithm
parameters ANY DEFINED BY algorithm OPTIONAL
}
This certificate is defined in IS 9594.
EDITOR'S NOTE: a full reference is required here.
In the descriptions below, fields common to all types of certificate have been extracted into a set of common fields "commonCertificateFields" and "checkValue". The "commonCertificateFields" collectively serve to provide generally required management and control over the use of the certificate.
The specific contents fields are different for different types, and contain a type identifier to indicate which type it is. In this Standard three types are defined in detail: the Authentication Certificate (AUC), the Privilege Attribute Certificate (PAC, and the Generalised Public Key Certificate (GPKC)
The "checkValue" fields are used to guarantee the origin of the certificate.
GeneralisedCertificate ::= SEQUECE {
certificateBody [0]
CertificateBody,
checkValue [1] CheckValue
}
CertificateBody ::= CHOICE {
encipheredBodyb [0] BIT STRING,
normalBody [1] SEQUENCE {
commonContents [0] CommonContents,
specificContents [1] SpecificContents
}
}
The next three clauses describe these three main structural components of the generalised certificate.
CommonContents ::= SEQUENCE {ne comConSyntaxVersion [0] INTEGER {version1 (1)}
DEFAULT 1,
issuerDomain [1] Identifier OPTIONAL,
issuerIdentity
[2] Identifier,
serialNumber [3 INTEGER, -- as structured in X.509
creationTime [4] UTCTime OPTIONAL,
validity [5]
Validity,
algId [6] AlgorithmIdentifier,
hashAlgId [7]
AlgorithmIdentifier OPTIONAL
}
Identifier ::= CHOICE {
objectId [0] OBJECT IDENTIFIER,
directoryName [1] Name, -- imported from X.509
printableName [2]
Printable String,
octets [3] OCTET STRING,
int [4]
INTEGER,
bits [5] BIT STRING,
pairedName [6] SEQUENCE {
printableName [0] Printable String,
uniqueName [1] OCTET
STRING
}
}
Validity is defined in clause B.2
Identifies the version of the syntax of the combination of the commonContents and the checkValue fields parts of the certificate.
The security domain of the issuing authority. Not required if the form of issuerIdentity is a full distinguished name, but required if other forms of naming are in use, such as proprietary identifiers.
The identity of the issuing authority for the certificate.
The serial number of the certificate as allocated by the issuing authority.
The UTC time that the certificate was created, according to the authority that created it.
Identifier is a general syntax which is used for all fields containing names or identifiers of various kinds. It can take any of the forms listed: object identifier, Directory DN or RDN, a printable name, an octet string, an integer value, a bit string or a paired value consisting of readable and unique components.
A pair of start and end times, within which the certificate is deemed to be valid.
Different types of certificate are identified by different choices as follows:
SpecificContents ::= CHOICE {ne auc [0] AUCSpecificContents,
pac
[1] PACSpecificContents,
proxyOnlyPAC [2] PACSpecificContents,
initiatorOnlyPAC [3] PACSpecificContents,
gpkcType [4]
GPKCSpecificContents,
otherType [5] SEQUENCE {
typeId
[0] OBJECT IDENTIFIER,
otherSpecificContents [1] ANY DEFINED BY
typeId
}
}
The syntax of the AUC contents is:
AUCSpecificContents ::= SEQUENCE{
aucSyntaxVersion [0] INTEGER {version1
(1)} DEFAULT 1,
protectionMethods [1] SEQUENCE OF MethodGroup
OPTIONAL,
aucType [2] ENUMERATED {
primaryPrincipal
(1),
secondaryPrincipal (2)
},
authenticationLevel [3] INTEGER OPTIONAL,
aucAtts [4]
SEQUENCE OF SecurityAttribute,
timePeriods [5] TimePeriods OPTIONAL
}
TimePeriods ::= SEQUENCE OF SEQUENCE {
startTme [0] UTCTime,
endTime [1] UTCTime
}
Syntax version of the AUC
Indicates whether the AUC owner is a Primary Principal or a Secondary Principal.
A Primary Principal is a principal that is part of the system used to support the authentication of Secondary Principals. A Primary Principal is a software entity located in the end-system used by the Secondary Principal.
A Secondary Principal is a principal who is sponsored to the system by a Primary Principal. It may be a human user or an application entity.
Level of the authentication. It indicates the level of confidence in the authentication method used.
Security attributes that are put in the AUC for use the server it is to be sent to. It always contains the authenticated identity, and optionally other attributes among which re:
- Audit identity,
- Charging identifier.
See Annex A for definitions of these specific attribute types.
Note:
The name "Charging Identifier" is used in preference to "Charging Identity" to distinguish it from the other identities which are all identities of the certificate user. "Charging Identifier" names, and therefore identifies a different entity, typically an account.
This field adds further time restrictions to the validity field of the commonContents.
A sequence of optional groups of Method fields used to protect the certificate from being stolen or misused. For a full description see clause B6.
The syntax of the PAC contents is:
PACSpecificContents ::= SEQUENCE{
pacSyntaxVersion [0] INTEGER { version1
(1) } DEFAULT 1,
pacHistory [1] SEQUENCE OF CertificateId
OPTIONAL,
protectionMethods [2] SEQUENCE OF MethodGroup OPTIONAL,
traceLink [3] SEQUENCE OF SecurityAttribute OPTIONAL,
pacType [4]
ENUMERATED {
primaryPrincipal (1),
temperedSecPrincipal (2),
untemperedSecPrincipal (3)
} DEFAULT 3,
privileges
ab [5] SEQUENCE OF PrivilegeAttribute,
restrictions [6] SEQUENCE OF
Restriction OPTIONAL,
miscellaneousAtts [7] SEQUENCE OF SecurityAttribute
OPTIONAL,
timePeriods [8] TimePeriods OPTIONAL
}
For MethodGroup and its sub-fields see clause B.1.1
PrivilegeAttribute ::= SecurityAttribute
Restriction ::= SEQUENCE {
howDefined [0]tab CHOICE {
hashedExternal [0] BIT STRING, -- the hash value
signedExternal [1]
BIT STRING, -- the public key
certExternal [2] CertificateId, -- user
certificate
included [3] BIT STRING
}, -- the actual retriction in a form undefined in this standard.
algId
[1] AlgorithmIdentifier OPTIONAL,
-- either identifies the hash
algorithm
-- or the public key algorithm
-- for
choices 1 or 2 above.
type [2] ENUMERATED { mandatory
(1),
optional (2)
} DEFAULT mandatory,
targets
ab [3] SEQUENCE OF SecurityAttribute OPTIONAL
-- applies to all
targets if this is omitted
}
Syntax version of the PAC.
This field is required by Inter-domain Services. It is used whenever an Inter-domain Service creates and signs a new PAC based on a PAC received from another domain, the certificateIdentifier of the incoming PAC is added to this field, thus providing a history of thePACs which led to the creation of this PAC.
A sequence of optional groups of Method fields used to protect the certificate from being stolen or misused. For a full description see clause B1.1.
Indicates the security attributes of an application performing proxy. This may simply be the name of the application or the name of one of the groups the application belongs to. It is only used in conjunction with the "Trace Pointer" protection method (see clause B.1.1.6). When the application is not performing proxy (e.g. first application of a chain) this field has a null value. The choice between a null value and a non-null value is indicated at the time the PAC is requested by setting the type of certificate o either initiatorOnlyPAC or proxyOnlyPAC.
Indicates whether the privileges contained in the PAC are those of a Primary Principal, of a Secondary Principal tempered by the privileges of a Primary Principal (the privileges of the Secondary Principal which appear in the PAC are a subset of the whoe set of the privileges of the Secondary Principal, taking into consideration the privileges of the Primary Principal) or of a Secondary Principal (the privileges of the Secondary Principal are not affected by the privileges of the Primary Principal, if any) .
Privilege Attributes of the principal.
This field enables the original owner of the certificate to impose constraints on the operations for which it is valid. A restriction is a bit string which can be either included in the certificate or external to it. A restriction can be targeted to one r more applications. Two types of restriction are supported:
The restriction is carried outside the certificate and is bound to the certificate by use of irreversible cryptographic techniques :
The issuing authority inserts into the PAC the result of a hash function applied to the external restrictions, along with the hash algorithm identifier.
The restriction is carried outside the certificate and is bound to the certificate by use of asymmetric cryptographic techniques :
Either the client asks the issuing authority to generate a private key for it, or the client sends the issuing authority a public key corresponding to a private key it already knows, along with information about the way in which the key is to be used. Th issuing authority inserts the public key received (or that it generated) along with usage information in the certificate. If the issuing authority has generated a private key for the client, this key is returned encrypted under the communications key.
When the client now sends the certificate to a target, the target will expect constraints associated with that certificate to have been signed by the private key corresponding to the public key in the certificate. This Standard does not dictate the detais of these signing operations.
As above, but a reference to a certification authority and user certificate identifying the public key is present instead of the actual key (certificateId is defined in clause
s24 B.1.1).
The restriction is directly included in "restrictions" field of the certificate.
Security attributes which are neither privileges attributes nor restrictions attributes. In a PAC, this includes identity attributes such as :
-- Authenticated Identity
-- Non-repudiation Identity
-- Audit Identity
-- Charging Identifier
These attribute types are defined in annex A
Note:
The name "Charging Identifier" is used in preference to "Charging Identity" to distinguish it from the other identities which are all identities of the certificate user. "Charging Identifier" names, and therefore identifies a different entity, typically n account.
PACs that can be included the actual PAC.
This field adds further time restrictions to the validity field of the commonContents.
MethodGroup ::= SEQUENCE OF MethdMethod ::= SEQUENCE {
methodId tab [0] MethodId,
methodParams [1] SEQUENCE OF Mparm OPTIONAL}
MethodId ::= CHOICE {
predefinedMethod b [0] ENUMERATED {controlProtectionValues (1),
ppQualification (2),
targetQualification (3),
delegateTargetQualification (4),
delegateQualification (5),
tracePointer (6),
initiatorQualification (7),
count (8),
checkBack (9),
nestedChain (10)},
otherMethod [1] OBJECT IDENTIFIER}
Mparm ::= CHOICE {
pValue tab [0] PValue,
securityAttribute [1] SecurityAttribute,
integerValue [2] INTEGER,
octetValue [3] OCTET STRING,
bitStringValue [4] BIT STRING,
nestedCertificate [5] GeneralisedCertificate,
printableStringValue [6] PrintableString,
backwardChainRef [7] CertificateId
otherValue [8] SEQUENCE {
paramType [0] OBJECT IDENTIFIER,
paramValue [1] ANY DEFINED BY paramType}
}
CertificateId ::= SEQUENCE {
issuerDomai [0] Identifier OPTIONAL,
issuerIdentity [1] Identifier,
serialNumber [2] INTEGER, -- as structured in X.509}
Identifies a protection method. Several methods are defined in this Standard. Alternative methods are also provided for by means of the "otherMethod" OBJECT IDENTIFIER. Methods can be used in any combination, and except where stated otherwise, multiple ocurrences of the same method are permitted. The choice of methodId determines the permitted choices of method params in the methodParams construct as described below. It is the responsibility of standards definers who define alternative methods to specify the syntax choices available for their methods' methodParams.
Parameters for a protection method. The semantics of each protection method is described in clause B.6.1 and following clauses below. In each case, the syntax choice of the mParm field is defined.
A named concatenation of the three fields defined in CommonContents (see clause B.3.1) which together uniquely identify a certificate.
The MethodId for this is: controlProtectionValues
This method protects the PAC from being stolen, at the same time controlling its acceptance for use by proxy to defined groups of targets. The syntax choice of Mparm for this method is PValue, where:
PValue ::= SEQUENCE {
tab pv [0] BIT STRING,
algorithmIdentifier
[1] AlgorithmIdentifier OPTIONAL
-- algorithmIdentifier is Imported from X.509; Defalt is MD5
}
This scheme uses a certificate Protection Value (PV) to provide a method of controlling the forwarding of a certificate for use by proxy, without the user of the certificate needing to know the precise identity of the final target at which the certificat is to be used. It prevents a line-tapper from stealing the certificate for his own use, but does not demand that the certificate be encrypted. Only one PV method is permitted in each method group. Security attributes can be associated with the PV by including appropriate protection methods in the PV's method group.
More than one method group can be specified, each containing a PV.
Also associated with each PV is a certificate Control Value (CV) external to the certificate. The PV is the result of a one-way function applied to the corresponding CV. When the certificate is offered to a target, it is proof of knowledge of this CV whih causes the certificate to be accepted (subject to the other controls in the PV's method group). Unless otherwise specified, the one-way function that is used for this method is MD5, as defined in ISO 10118 Part 2.
When the client sends the certificate to a target, one or more CVs are also sent encrypted under the key used to communicate with the target. Not all of the CVs associated with the certificate need always be sent. The target knows the one-way function an therefore is able to verify that the client knows a CV which corresponds to a PV in the certificate. If the other controls in the PV's method group are passed, the certificate is acceptable under this method group.
The target now knows the value of the CVs that have been sent to it, and can make available this value to the application or to the infrastructure supporting that application. so that it can forward the PAC for use with another target. By includingtarget qualification controls in the method group, proxy can be confined to groups of targets, for example all of the servers in a distributed service.
This form of certificate protection, in which only the CVs are required to be encrypted, is useful for systems where user data encryption is not allowed by law or not accepted practic.
The MethodId for this is: ppQualification
This method protects the certificate from being stolen, by confining its use to be from one or more nominated Primary Principals. In its most restrictive form it permits a certificate to be used only from the Primary Principal of the client entity to whih it was originally issued. It can also be used to permit proxy, when the required attributes of the proxy application Primary Principals are precisely known. The method does not limit the number of targets at which a certificate might be accepted. The syntax choice of Mparm forthis method is ppAttribute, where:
ppAttribute ::= SecurityAttribute.
A sequence of Mparm constructs is permissible, resulting in multiple security attributes being present.
The attributes are inserted in the certificate by the issuing authority on request from its client or by default, and are attributes that the client is indicating must be possessed by any Primary Principal from which this certificate is to be validly used. When a target receives such a certificate, it is responsible for comparing the ttributes found in the certificate with the attributes that it knows (by other means out of scope of this standard) are associated with the initiating Primary Principal. Only if the initiator has all of the ppQualification attributes in the certificate, s the certificate accepted under this method.
The MethodId for this is: targetQualification.
This method protects the certificate from misuse by allowing its use by a nominated set of targets but at the same time preventing it from being forwarded by them.
The syntax choice of Mparm for this method is : SecurityAttribute
A sequence of Mparm constructs is permissible, resulting in multiple security attributes being present.
The attributes are inserted in the certificate by the issuing authority on request from the client.
Targets receiving such Certificates will compare the values found in the Certificate with the attributes of the target. If the target possesses one of the attributes in one of the occurrences of this method that is present in a method group, the Certificte is deemed to be acceptable under this method in this group but the target's Access Enforcement Function (AEF) will not allow use of the certificate for access to further targets.
The MethodId for this is: delegateTargetQualification
This method protects the certificate from misuse by confining its validity to a set of targets. The syntax choice of Mparm for this method is: SecurityAttribute
A sequence of Mparm constructs is permissible, resulting in multiple security attributes being present.
The attributes are inserted in the certificate by the issuing authority on request from the client.
As above, but the nominated target is acceptable as both target and delegate. The attributes carried by the PAC are valid at the target for authentication or access control purposes and the target's AEF will allow the use of the PAC for access to further targets.
The MethodId for this is: delegateQualification
This method protects the certificate from misuse by allowing it to be forwarded but at the same time preventing its use by the forwarding delegate.
The syntax choice of Mparm for this method is: SecurityAttribute
A sequence of Mparm constructs is permissible, resulting in multiple security attributes being present.
The attributes are inserted in the certificate by the issuing authority on request from the client.
The nominated target is accepted only as a delegate. None of the attributes carried by the certificate are valid at the target for authentication or access control purposes but nevertheless the target's AEF will allow the use of the certificate for acces to further targets.
The MethodId for this is: tracePointer. Although in principle this method could be used for Authentication Certificates it is intended only to be used in Privilege Attribute Certificates (PACs). See clause B.5
The syntax choice of Mparm for this method is: SecurityAttribute
A sequence of Mparm constructs is permissible, resulting in multiple security attributes being present.
The attributes are inserted in the certificate by the issuing authority on request from the client.
This control is only applicable to proxiable certificates. It enables the construction of a chain of certificates so that a target at any stage on the delegation path can trace the route followed by a given operation through previous delegates back to the oriinal initiator.
Two values are associated with the tracePointer method:
The first value is called the forwardPointer which points to the traceLink field of the next valid certificate in the chain (see clause B.5 for a description of this field). The traceLink field allows to indicate any security attribute that the next application shall have in order to take advantage of the proxy. This may simply be the name of the application or the name of one of the groups the application belongs to.
The second value is called the backwardPointer. Its presence is optional and points to the certificate identifier of the previous certificate. It is needed only when multiple certificates using this protection method are issued by an intermediate appliction towards the same next target.
The same certificate can be issued at different times with different delegation routes being permitted. This is done by pairing different tracePointer values with CV/PV methods in a number of method groups. Choice of CV sent with the certificate effectivly activates the method group in which the corresponding PV is to be found, and consequently activates the associated tracePointer values.
A target receiving the chain of certificates will check that all chain links match correctly starting from the first certificate to the last.
The MethodId for this is: initiatorQualification
This method provides weak protection for the certificate from being used by an invalid initiator. The method parameter specifies security attributes which the initiator can state without verification. An example value would be a network address as used i Kerberos.
The MethodId for this is: count
This method protects a certificate from misuse by limiting the number of times it can be validly presented to targets. The syntax choice of Mparm for this method is integerValue, wher:
integerValue ::= INTEGER
The count value is inserted in the certificate by the issuing authority on request from the client.
When a target satisfying any other controls that may pertain in the method group containing the count first receives the certificate from an initiator, it registers the value of the count. Subsequent receipts of the same certificate cause the count stored at the target to be decremented. The target will not accept as valid any certificate that has been presented more than the number of times specified in the count.
The MethodId for this is: checkBack
This method protects a certificate from misuse by requesting a target receiving such a certificate to check back with the original issuing authority to ensure that the certificate is still valid. The method provides for instant revocation of a certificate. No methodParams construct is used for this method. Only one occurrence of the method is permitted in any one method group.
When a target receives such a certificate, it passes it or identifies it to the originating issuing authority in an appropriate checking request operation in order to validate the method group within which the check back method appears.
Note: This is a place holder for a possible future method under consideration
Certificates are unlikely to contain complex combinations of many method types with multiple occurrences of each type. It is expected that one occurrence of each of one or two method types in one method group would be normal. However the general rule fo validating a certificate when received by a target is as follows:
If the certificate is properly signed by an authority recognised by this target and is within the valid time periods, then if the certificate is the first in a chain of certificates bing presented it must not be a proxyOnlyPAC. If it is not the first in such a chain (i.e. it has been added by a delegate under the Trace Pointer protection method - see clause B.6.6), it must not be an initiatorOnlyPAC. If these checks are passed, then the protection methods in each group are tested in turn as described below until one of the groups is passed or the certificate is declared invalid.
A method group is passed if:
the certificate is for this target under any target, delegatetarget or delegate qualification method in this group
it does not violate any count or check-back checks in the group
tests on any ppQualification, initiatorQualification or controlProtectionValues method in the group succeeds. If more than one of these is present, if initiatorQualification is one of them it is ignored; and at least one of the others must be passed. If nly one is present it must be passed. If none of them is present this last check is not required.
If the group that has been passed only validates the certificate for its recipient being a delegate, then further groups are checked to see if the recipient is also valid as a target. If, following these additional checks, a recipient is still valid only as a delegate, none of the attributes carried by te certificate are accepted as valid at the recipient for authentication or access control purposes.
If the group that has been passed only validates the certificate for its recipient being a target, then further groups are checked to see if the recipient is also valid as a delegate. If, following these additional checks, a recipient is still valid only as a target, the security infrastructure is responsible for preventing its use for access to further targets.
If the certificate is a PAC and is presented as part of, but not the first of a traced delegation chain then the traceLink field of the certificate must correspond to a tracePointer value from a method group, valid for this recipient, of the previous PACin the chain.
If the certificate is a PAC and is presented as part of, but not the last of a traced delegation chain then at least one method group valid for this recipient as a delegate or delegateTarget, and containing a tracePointer, must be present. One of these tracePointers must correspond to thetraceLink field of the next PAC in the chain.