Parent PRD
#4079
What to build
After CRL/cert-time validation has moved to the did:x509 resolver (#4083), key time-based checks have moved to the key resolver (#4084), and issuer attribute matching has moved to the generic Verify function (#4085), the X509CredentialValidator contains only duplicated logic.
- Remove the remaining duplicated logic from
X509CredentialValidator
- Either simplify it to delegate to
defaultCredentialValidator or remove it entirely
- Simplify the
FindValidator dispatch in resolver.go — remove the X509CredentialType case if the validator is removed
- Verify all existing tests pass with no behavior changes
Acceptance criteria
Blocked by
User stories addressed
- User story 7: existing behavior preserved
- User story 8: validation architecture follows PSA layered model
Parent PRD
#4079
What to build
After CRL/cert-time validation has moved to the did:x509 resolver (#4083), key time-based checks have moved to the key resolver (#4084), and issuer attribute matching has moved to the generic Verify function (#4085), the
X509CredentialValidatorcontains only duplicated logic.X509CredentialValidatordefaultCredentialValidatoror remove it entirelyFindValidatordispatch inresolver.go— remove theX509CredentialTypecase if the validator is removedAcceptance criteria
X509CredentialValidatorno longer contains CRL, cert-time, or policy assertion logicFindValidatordispatch is simplified or the X509 case is removedBlocked by
User stories addressed