[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/web-token/jwt-signature/ -> JWSBuilder.php (summary)

(no description)

File Size: 235 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JWSBuilder:: (10 methods):
  __construct()
  getSignatureAlgorithmManager()
  create()
  withPayload()
  addSignature()
  build()
  checkIfPayloadIsEncoded()
  checkB64AndCriticalHeader()
  findSignatureAlgorithm()
  checkDuplicatedHeaderParameters()


Class: JWSBuilder  - X-Ref

__construct(AlgorithmManager $signatureAlgorithmManager)   X-Ref


getSignatureAlgorithmManager()   X-Ref
Returns the algorithm manager associated to the builder.


create()   X-Ref
Reset the current data.

return: JWSBuilder

withPayload(string $payload, bool $isPayloadDetached = false)   X-Ref
Set the payload.
This method will return a new JWSBuilder object.

return: JWSBuilder

addSignature(JWK $signatureKey, array $protectedHeader, array $header = [])   X-Ref
Adds the information needed to compute the signature.
This method will return a new JWSBuilder object.

return: JWSBuilder

build()   X-Ref
Computes all signatures and return the expected JWS object.


checkIfPayloadIsEncoded(array $protectedHeader)   X-Ref
No description

checkB64AndCriticalHeader(array $protectedHeader)   X-Ref


findSignatureAlgorithm(JWK $key, array $protectedHeader, array $header)   X-Ref

return: MacAlgorithm|SignatureAlgorithm

checkDuplicatedHeaderParameters(array $header1, array $header2)   X-Ref




Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer