PHP Interface Jose\SignerInterface

Datei anzeigen Open project: spomky-labs/jose Interface Usage Examples

Public Methods

Method Description
createSigner ( array $signature_algorithms ) : Jose\SignerInterface Signer constructor.
getSupportedSignatureAlgorithms ( ) : string[]
sign ( Jose\Object\JWSInterface &$jws )

Method Details

createSigner() public static method

Signer constructor.
public static createSigner ( array $signature_algorithms ) : Jose\SignerInterface
$signature_algorithms array
return Jose\SignerInterface

getSupportedSignatureAlgorithms() public method

public getSupportedSignatureAlgorithms ( ) : string[]
return string[]

sign() public method

public sign ( Jose\Object\JWSInterface &$jws )
$jws Jose\Object\JWSInterface