public function basicConstraints(): Ext\BasicConstraintsExtension
    {
        /** @var Extension\BasicConstraintsExtension $basicConstraints */
        $basicConstraints = $this->get(Ext\Extension::OID_BASIC_CONSTRAINTS);
        return $basicConstraints;
    }
public function basicConstraints(): Ext\BasicConstraintsExtension
    {
        /** @var Extension\BasicConstraintsExtension $basicConstraints */
        $basicConstraints = $this->get(Ext\Extension::OID_BASIC_CONSTRAINTS);
        return $basicConstraints;
    }
public function basicConstraints ( ) : Ext \ BasicConstraintsExtension { /** @var Extension\BasicConstraintsExtension $basicConstraints */ $ basicConstraints = $ this -> get ( Ext \ Extension :: OID_BASIC_CONSTRAINTS ) ; return $ basicConstraints ; }
Get 'Basic Constraints' extension.

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