Method | Description | |
---|---|---|
addRecipientInformation ( Jose\Object\JWKInterface $recipient_key, array $recipient_headers = [] ) : Jose\Object\JWEInterface | ||
addRecipientWithEncryptedKey ( string | null $encrypted_key, array $recipient_headers ) : Jose\Object\JWEInterface | ||
countRecipients ( ) : integer | Returns the number of recipients associated with the JWS. | |
getAAD ( ) : string | null | ||
getCiphertext ( ) : string | null | ||
getEncodedSharedProtectedHeaders ( ) : string | null | ||
getIV ( ) : string | null | ||
getRecipient ( integer $id ) : Jose\Object\RecipientInterface | ||
getRecipients ( ) : Jose\Object\RecipientInterface[] | Returns the recipients associated with the JWS. | |
getSharedHeader ( string $key ) : mixed | null | ||
getSharedHeaders ( ) : array | ||
getSharedProtectedHeader ( string $key ) : mixed | null | ||
getSharedProtectedHeaders ( ) : array | ||
getTag ( ) : string | null | ||
hasSharedHeader ( string $key ) : boolean | ||
hasSharedProtectedHeader ( string $key ) : boolean | ||
isEncrypted ( ) : boolean | ||
toCompactJSON ( integer $recipient ) : string | ||
toFlattenedJSON ( integer $recipient ) : string | ||
toJSON ( ) : string | ||
withAAD ( string $aad ) : Jose\Object\JWEInterface | ||
withCiphertext ( string $ciphertext ) : Jose\Object\JWEInterface | ||
withEncodedSharedProtectedHeaders ( string $encoded_shared_protected_headers ) : Jose\Object\JWEInterface | ||
withIV ( string $iv ) : Jose\Object\JWEInterface | ||
withSharedHeader ( string $key, mixed | null $value ) : Jose\Object\JWEInterface | ||
withSharedHeaders ( array $shared_headers ) : Jose\Object\JWEInterface | ||
withSharedProtectedHeader ( string $key, mixed | null $value ) : Jose\Object\JWEInterface | ||
withSharedProtectedHeaders ( array $shared_protected_headers ) : Jose\Object\JWEInterface | ||
withTag ( string $tag ) : Jose\Object\JWEInterface |
public addRecipientInformation ( Jose\Object\JWKInterface $recipient_key, array $recipient_headers = [] ) : Jose\Object\JWEInterface | ||
$recipient_key | Jose\Object\JWKInterface | |
$recipient_headers | array | |
return | Jose\Object\JWEInterface |
public countRecipients ( ) : integer | ||
return | integer |
public getCiphertext ( ) : string | null | ||
return | string | null | The cyphertext |
public getRecipient ( integer $id ) : Jose\Object\RecipientInterface | ||
$id | integer | |
return | Jose\Object\RecipientInterface |
public getRecipients ( ) : Jose\Object\RecipientInterface[] | ||
return | Jose\Object\RecipientInterface[] |
public toCompactJSON ( integer $recipient ) : string | ||
$recipient | integer | |
return | string |
public toFlattenedJSON ( integer $recipient ) : string | ||
$recipient | integer | |
return | string |
public withCiphertext ( string $ciphertext ) : Jose\Object\JWEInterface | ||
$ciphertext | string | |
return | Jose\Object\JWEInterface |