public function certificatePolicies(): Ext\CertificatePoliciesExtension
    {
        /** @var Extension\CertificatePoliciesExtension $certPolicies */
        $certPolicies = $this->get(Ext\Extension::OID_CERTIFICATE_POLICIES);
        return $certPolicies;
    }
public function certificatePolicies(): Ext\CertificatePoliciesExtension
    {
        /** @var Extension\CertificatePoliciesExtension $certPolicies */
        $certPolicies = $this->get(Ext\Extension::OID_CERTIFICATE_POLICIES);
        return $certPolicies;
    }
public function certificatePolicies ( ) : Ext \ CertificatePoliciesExtension { /** @var Extension\CertificatePoliciesExtension $certPolicies */ $ certPolicies = $ this -> get ( Ext \ Extension :: OID_CERTIFICATE_POLICIES ) ; return $ certPolicies ; }
Get 'Certificate Policies' extension.

@throws \LogicException If extension is not present
@return \X509\Certificate\Extension\CertificatePoliciesExtension
Get Certificate Policies extension .