public function policyConstraints(): Ext\PolicyConstraintsExtension
    {
        /** @var Extension\PolicyConstraintsExtension $policyConstraints */
        $policyConstraints = $this->get(Ext\Extension::OID_POLICY_CONSTRAINTS);
        return $policyConstraints;
    }
public function policyConstraints(): Ext\PolicyConstraintsExtension
    {
        /** @var Extension\PolicyConstraintsExtension $policyConstraints */
        $policyConstraints = $this->get(Ext\Extension::OID_POLICY_CONSTRAINTS);
        return $policyConstraints;
    }
public function policyConstraints ( ) : Ext \ PolicyConstraintsExtension { /** @var Extension\PolicyConstraintsExtension $policyConstraints */ $ policyConstraints = $ this -> get ( Ext \ Extension :: OID_POLICY_CONSTRAINTS ) ; return $ policyConstraints ; }
Get 'Policy Constraints' extension.

@throws \LogicException If extension is not present
@return \X509\Certificate\Extension\PolicyConstraintsExtension
Get Policy Constraints extension .