public function extendedKeyUsage(): Ext\ExtendedKeyUsageExtension
    {
        /** @var Extension\ExtendedKeyUsageExtension $keyUsage */
        $keyUsage = $this->get(Ext\Extension::OID_EXT_KEY_USAGE);
        return $keyUsage;
    }
public function extendedKeyUsage(): Ext\ExtendedKeyUsageExtension
    {
        /** @var Extension\ExtendedKeyUsageExtension $keyUsage */
        $keyUsage = $this->get(Ext\Extension::OID_EXT_KEY_USAGE);
        return $keyUsage;
    }
public function extendedKeyUsage ( ) : Ext \ ExtendedKeyUsageExtension { /** @var Extension\ExtendedKeyUsageExtension $keyUsage */ $ keyUsage = $ this -> get ( Ext \ Extension :: OID_EXT_KEY_USAGE ) ; return $ keyUsage ; }
Get 'Extended Key Usage' extension.

@throws \LogicException If extension is not present
@return \X509\Certificate\Extension\ExtendedKeyUsageExtension
Get Extended Key Usage extension .