Lines Matching defs:attributes
39 * The maximum buffer size needed for public or private key attributes.
141 const generic_attr_t *attributes, size_t num_attributes);
222 * object attributes), meta_object_add should be called. This two-step
270 * being kept in the metaslot object. The following 4 attributes
596 /* Now erase and delete any attributes in the metaobject. */
597 dealloc_attributes(object->attributes, object->num_attributes);
722 * attributes. We defer this work until we actually need to know.
735 /* Make sure no one else is looking at attributes. */
739 if (object->attributes != NULL) {
752 * first, get the master template of all the attributes
756 &(object->attributes), &(object->num_attributes));
764 * Some attributes are required by the given object type.
777 ((object->attributes[i]).attribute).type;
790 * Some attributes defined in PKCS#11 version 2.11
802 * Since we don't know how many attributes have
805 * of attributes that have value.
818 if (!object->attributes[i].canBeEmptyValue) {
845 object->attributes, object->num_attributes);
978 if (object->attributes == NULL) {
986 rv = meta_clone_template_setup(object, object->attributes,
1411 * a non-sensitive object, then, get all the attributes
1547 /* object attributes can't be extracted and attributes are not known */
1548 if ((!object->isExtractable) && (object->attributes == NULL)) {
1578 * attributes via FreeObject functionality, then we need to wrap it off
1579 * the provider. If we do have attributes, we can just create the
1583 if (object->isSensitive && object->attributes == NULL) {
1615 const generic_attr_t *attributes, size_t num_attributes)
1627 /* Don't allow attributes to change while we look at them. */
1631 if (!attributes[i].isCloneAttr ||
1632 (attributes[i].attribute.type == CKA_TOKEN &&
1636 if ((!(attributes[i].hasValueForClone)) &&
1637 (attributes[i].canBeEmptyValue)) {
1641 clone_template[c].type = attributes[i].attribute.type;
1643 attributes[i].attribute.ulValueLen;
1654 object->attributes[i].attribute.pValue,
2055 * the important attributes for cloning before we make it private/sensitive.
2066 if (object->attributes == NULL) {
2082 rv = attribute_set_value(attr, object->attributes,
2147 rv = attribute_set_value(attr, object->attributes,