033530A3 Extended key usage type is not supported for this operation

Explanation

The extended key usage type should be a value defined within x509_purpose_type. Purpose types x509_purpose_unknown and x509_purpose_maximum are invalid. Use special case GSKCMS_VALIDATE_EXTENDED_KEY_USAGE_CHECK_OID only if OID comparison is required.

User response

Verify that the input x509_purpose_type is defined within the x509_purpose_type and is not x509_purpose_unknown, x509_purpose_maximum, or special case GSKCMS_VALIDATE_EXTENDED_KEY_USAGE_CHECK_OID.