Package org.forgerock.openig.fapi.jwt
Class OctetSequencePayload
java.lang.Object
org.forgerock.openig.fapi.jwt.OctetSequencePayload
- All Implemented Interfaces:
Payload
Class representing an octet-sequence-based
Payload
, which is managed as an immutable String
. The
built payload will be encoded with character set Utils.CHARSET
(UTF-8).-
Constructor Summary
ConstructorsConstructorDescriptionOctetSequencePayload
(byte[] octetSequence) Construct anOctetSequencePayload
. -
Method Summary
-
Constructor Details
-
OctetSequencePayload
public OctetSequencePayload(byte[] octetSequence) Construct anOctetSequencePayload
.- Parameters:
octetSequence
- octetSequence payload
-
-
Method Details
-
build
Description copied from interface:Payload
Builds the JWTs Payload into aString
by following the steps specified in the relevant specification according to whether the JWT is being signed and/or encrypted. -
copy
Description copied from interface:Payload
Create a copy of the current payload.
-