toCompactSerialization abstract method
Serializes the JsonWebSignature or JsonWebEncryption to a string.
Throws an exception when object cannot be serialized to its compact form, i.e. when the JsonWebSignature has multiple signatures or the JsonWebEncryption has multiple recipients.
Implementation
String toCompactSerialization();