Link Search Menu Expand Document (external link)


view source

Extends AppBundle\GatewaySDKPhp\RequestBuilder\AbstractRequestBuilder

Trait AppBundle\GatewaySDKPhp\RequestBuilder\Traits\TraitBuildParameters

Table of contents
  1. SmartidInitHashSigningRequestBuilder
    1. Properties
    2. Methods
      1. public withHash(string $hash)
      2. public withHashAlgorithm(string $hashAlgorithm)
      3. public withCountry(string $country)
      4. public withMessage(string $message)
      5. public withCode(string $code)
      6. public withCertificateLevel(string $certificateLevel)
      7. public createRequest()


Visibility Type Name Description
protected String hash Sets the hash to ssign
protected String hashAlgorithm Hash algorithm. Possible values: SHA256 or SHA512
protected String country Signer’s country code: LT, EE
protected String message Message to be displayed on phone screen
protected String code Personal code
protected String certificateLevel Requested SK Smart-ID certificate level. Possible values: QSCD, QUALIFIED. Defaults to QSCD


public withHash(string $hash)

returns self

Sets hash

public withHashAlgorithm(string $hashAlgorithm)

returns self

Sets hashAlgorithm

public withCountry(string $country)

returns self

Sets country

public withMessage(string $message)

returns self

Sets message

public withCode(string $code)

returns self

Sets code

public withCertificateLevel(string $certificateLevel)

returns self

Sets certificate_level

public createRequest()

returns AppBundle\GatewaySDKPhp\Model\RequestInterface

Creates and returns AppBundle\GatewaySDKPhp\Model\RequestInterface to be used with postRequest method.