SstJoseObjectBuilder
Common superclass for a JWS and a JWE builder. Currently, only JWS is supported.
Class Methods
Instance Methods
addRecipientWith:algorithm:
Adds a key and algorithm to sign or encrypt this object.
A Json Web Signature and a Json Web Encryption can have multiple recipients that use different keys and algorithms.
content:
Set the bytes content (payload) of the Jws or Jwe.
contentJson:
Set the JSON serialization of the argument as the content (payload) of the Jws or Jwe.
Arguments:
aJsonObject - <Object>, see implementors of #neoJsonOn:
contentString:
Set the string content (payload) of the Jws or Jwe.
Arguments:
aString - <String> or any implementors of #asUtf8Bytes
protectedHeaderParameter:value:
Sets a shared protected header parameter.
Protected header parameters are integrity protected by the signing or authenticated encryption algorithm.
Arguments:
paramName - <String>, the header parameter name.
aString - <String>, the header parameter value.
Last modified date: 01/09/2026