z/OS Open Cryptographic Services Facility Application Programming
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


CSSM_DB_ATTRIBUTE_INFO

z/OS Open Cryptographic Services Facility Application Programming
SC24-5899-01

This data structure describes an attribute of a persistent record. The description is part of the schema information describing the structure of records in a data store. The description includes the format of the attribute name and the attribute name itself. The attribute name implies the underlying data type of a value that may be assigned to that attribute.

typedef struct cssm_db_attribute_info {
    CSSM_DB_ATTRIBUTE_NAME_FORMAT AttributeNameFormat; 
    union {
        char * AttributeName; /* eg. "record label" */
        CSSM_OID AttributeID; /* eg. CSSMOID_RECORDLABEL */
        uint32 AttributeNumber;
#ifndef _MVS_
    };
#else
    /* Use the CDSA Version 2.0 definition instead of the anonymous union of
       the Version 1.x spec which unfortunately is not ANSI-C compatible. */

    } Label;
#endif 
} CSSM_DB_ATTRIBUTE_INFO, *CSSM_DB_ATTRIBUTE_INFO_PTR;

Definitions:

AttributeNameFormat
Indicates which of the three formats was selected to represent the attribute name.
AttributeName
A character string representation of the attribute name.
AttributeID
A DER-encoded Object Identifier (OID) representation of the attribute name.
AttributeNumber
A numeric representation of the attribute name.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014