AcmePhp\Ssl\PublicKey::getResource PHP 메소드

getResource() 공개 메소드

public getResource ( )
    public function getResource()
    {
        if (!($resource = openssl_pkey_get_public($this->keyPEM))) {
            throw new KeyFormatException(sprintf('Fail to convert key into resource: %s', openssl_error_string()));
        }
        return $resource;
    }
PublicKey