Method | Description | |
---|---|---|
addSignatureFromLoadedData ( string $signature, string | null $encoded_protected_headers, array $headers ) : Jose\Object\JWSInterface | ||
addSignatureInformation ( Jose\Object\JWKInterface $signature_key, array $protected_headers, array $headers = [] ) : Jose\Object\JWSInterface | ||
countSignatures ( ) : integer | Returns the number of signature associated with the JWS. | |
getEncodedPayload ( Jose\Object\SignatureInterface $signature ) : string | null | ||
getSignature ( integer $id ) : Jose\Object\SignatureInterface | ||
getSignatures ( ) : Jose\Object\SignatureInterface[] | Returns the signature associated with the JWS. | |
isPayloadDetached ( ) : boolean | ||
toCompactJSON ( integer $id ) : string | ||
toFlattenedJSON ( integer $id ) : string | ||
toJSON ( ) : string | ||
withAttachedPayload ( ) : Jose\Object\JWTInterface | ||
withDetachedPayload ( ) : Jose\Object\JWTInterface |
public addSignatureInformation ( Jose\Object\JWKInterface $signature_key, array $protected_headers, array $headers = [] ) : Jose\Object\JWSInterface | ||
$signature_key | Jose\Object\JWKInterface | |
$protected_headers | array | |
$headers | array | |
return | Jose\Object\JWSInterface |
public countSignatures ( ) : integer | ||
return | integer |
public getEncodedPayload ( Jose\Object\SignatureInterface $signature ) : string | null | ||
$signature | Jose\Object\SignatureInterface | |
return | string | null |
public getSignature ( integer $id ) : Jose\Object\SignatureInterface | ||
$id | integer | |
return | Jose\Object\SignatureInterface |
public getSignatures ( ) : Jose\Object\SignatureInterface[] | ||
return | Jose\Object\SignatureInterface[] |
public toCompactJSON ( integer $id ) : string | ||
$id | integer | |
return | string |
public toFlattenedJSON ( integer $id ) : string | ||
$id | integer | |
return | string |
public withAttachedPayload ( ) : Jose\Object\JWTInterface | ||
return | Jose\Object\JWTInterface |
public withDetachedPayload ( ) : Jose\Object\JWTInterface | ||
return | Jose\Object\JWTInterface |