protected void setCompactSerializationParts(String[] parts) throws JoseException
{
if (parts.length != COMPACT_SERIALIZATION_PARTS)
{
throw new JoseException("A JWS Compact Serialization must have exactly "+COMPACT_SERIALIZATION_PARTS+" parts separated by period ('.') characters");
}
setEncodedHeader(parts[0]);
setEncodedPayload(parts[1]);
setSignature(base64url.base64UrlDecode(parts[2]));