org.apache.cxf.rs.security.jose
Class JoseUtils

java.lang.Object
  extended by org.apache.cxf.rs.security.jose.JoseUtils

public final class JoseUtils
extends Object


Method Summary
static String checkContentType(String contentType, String defaultType)
           
static byte[] decode(String encoded)
           
static String decodeToString(String encoded)
           
static String expandContentType(String contentType)
           
static void setJoseContextProperty(JoseHeaders headers)
           
static void setJoseMessageContextProperty(JoseHeaders headers, String value)
           
static void setMessageContextProperty(JoseHeaders headers)
           
static boolean validateCriticalHeaders(JoseHeaders headers)
           
static void validateRequestContextProperty(JoseHeaders headers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setJoseContextProperty

public static void setJoseContextProperty(JoseHeaders headers)

setJoseMessageContextProperty

public static void setJoseMessageContextProperty(JoseHeaders headers,
                                                 String value)

setMessageContextProperty

public static void setMessageContextProperty(JoseHeaders headers)

validateRequestContextProperty

public static void validateRequestContextProperty(JoseHeaders headers)

checkContentType

public static String checkContentType(String contentType,
                                      String defaultType)

expandContentType

public static String expandContentType(String contentType)

decodeToString

public static String decodeToString(String encoded)

decode

public static byte[] decode(String encoded)

validateCriticalHeaders

public static boolean validateCriticalHeaders(JoseHeaders headers)


Apache CXF