PHP Interface Jose\SignerInterface

Afficher le fichier Open project: spomky-labs/jose Interface Usage Examples

Méthodes publiques

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

Method Details

createSigner() public static méthode

Signer constructor.
public static createSigner ( array $signature_algorithms ) : Jose\SignerInterface
$signature_algorithms array
Résultat Jose\SignerInterface

getSupportedSignatureAlgorithms() public méthode

public getSupportedSignatureAlgorithms ( ) : string[]
Résultat string[]

sign() public méthode

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