Class JoseUtils
- java.lang.Object
-
- org.apache.cxf.rs.security.jose.common.JoseUtils
-
public final class JoseUtils extends Object
-
-
Method Summary
-
-
-
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)
-
decode
public static byte[] decode(String encoded)
-
validateCriticalHeaders
public static boolean validateCriticalHeaders(JoseHeaders headers)
-
traceHeaders
public static void traceHeaders(JoseHeaders headers)
-
checkBooleanProperty
public static boolean checkBooleanProperty(JoseHeaders headers, Properties props, Message m, String propertyName)
-
getResourceStream
public static InputStream getResourceStream(String loc, Bus bus) throws IOException
- Throws:
IOException
-
getResourceURL
public static URL getResourceURL(String loc, Bus bus) throws IOException
- Throws:
IOException
-
getClasspathResourceURL
public static URL getClasspathResourceURL(String path, Class<?> callingClass, Bus bus)
-
loadProperties
public static Properties loadProperties(String propertiesLocation, Bus bus) throws IOException
- Throws:
IOException
-
-