Signer

class OC\Security\IdentityProof\Signer
Source:lib/private/Security/IdentityProof/Signer.php#35

Properties

Methods

public OC\Security\IdentityProof\Signer::__construct($keyManager, $timeFactory, $userManager)
Source:

lib/private/Security/IdentityProof/Signer.php#48

Parameters:
public OC\Security\IdentityProof\Signer::sign($type, $data, $user)
Returns a signed blob for $data
Source:

lib/private/Security/IdentityProof/Signer.php#64

Parameters:
  • $type (string)
  • $data (array)
  • $user (OCP\IUser)
Returns:

array [‘message’, ‘signature’]

public OC\Security\IdentityProof\Signer::verify($data)
Whether the data is signed properly
Source:

lib/private/Security/IdentityProof/Signer.php#86

Parameters:
  • $data (array)
Returns:

bool