private function _prepareNonSelfIssued(ValidatorState $state): ValidatorState
    {
        // (h.1)
        if ($state->explicitPolicy() > 0) {
            $state = $state->withExplicitPolicy($state->explicitPolicy() - 1);
        }
        // (h.2)
        if ($state->policyMapping() > 0) {
            $state = $state->withPolicyMapping($state->policyMapping() - 1);
        }
        // (h.3)
        if ($state->inhibitAnyPolicy() > 0) {
            $state = $state->withInhibitAnyPolicy(
                $state->inhibitAnyPolicy() - 1);
        }
        return $state;
    }
private function _prepareNonSelfIssued(ValidatorState $state): ValidatorState
    {
        // (h.1)
        if ($state->explicitPolicy() > 0) {
            $state = $state->withExplicitPolicy($state->explicitPolicy() - 1);
        }
        // (h.2)
        if ($state->policyMapping() > 0) {
            $state = $state->withPolicyMapping($state->policyMapping() - 1);
        }
        // (h.3)
        if ($state->inhibitAnyPolicy() > 0) {
            $state = $state->withInhibitAnyPolicy(
                $state->inhibitAnyPolicy() - 1);
        }
        return $state;
    }
private function _prepareNonSelfIssued ( ValidatorState $ state ) : ValidatorState { // (h.1) if ( $ state -> explicitPolicy ( ) > 0 ) { $ state = $ state -> withExplicitPolicy ( $ state -> explicitPolicy ( ) - 1 ) ; } // (h.2) if ( $ state -> policyMapping ( ) > 0 ) { $ state = $ state -> withPolicyMapping ( $ state -> policyMapping ( ) - 1 ) ; } // (h.3) if ( $ state -> inhibitAnyPolicy ( ) > 0 ) { $ state = $ state -> withInhibitAnyPolicy ( $ state -> inhibitAnyPolicy ( ) - 1 ) ; } return $ state ; }
Apply preparation for a non-self-signed certificate.

@param ValidatorState $state
@return ValidatorState
Apply preparation for a non - self - signed certificate .