/** * Allocates the attribute objects for this class and adds them to the * attribute table. * * @preconditions * @postconditions */ @Override protected void allocateAttributes() { super.allocateAttributes(); subject = new ByteArrayAttribute(Attribute.SUBJECT); sensitive = new BooleanAttribute(Attribute.SENSITIVE); secondaryAuth = new BooleanAttribute(Attribute.SECONDARY_AUTH); authPinFlags = new LongAttribute(Attribute.AUTH_PIN_FLAGS); decrypt = new BooleanAttribute(Attribute.DECRYPT); sign = new BooleanAttribute(Attribute.SIGN); signRecover = new BooleanAttribute(Attribute.SIGN_RECOVER); unwrap = new BooleanAttribute(Attribute.UNWRAP); extractable = new BooleanAttribute(Attribute.EXTRACTABLE); alwaysSensitive = new BooleanAttribute(Attribute.ALWAYS_SENSITIVE); neverExtractable = new BooleanAttribute(Attribute.NEVER_EXTRACTABLE); wrapWithTrusted = new BooleanAttribute(Attribute.WRAP_WITH_TRUSTED); unwrapTemplate = new AttributeArray(Attribute.UNWRAP_TEMPLATE); alwaysAuthenticate = new BooleanAttribute(Attribute.ALWAYS_AUTHENTICATE); putAttributesInTable(this); }