org.apache.cxf.rs.security.jose.jaxrs
Class KeyManagementUtils
java.lang.Object
org.apache.cxf.rs.security.jose.jaxrs.KeyManagementUtils
public final class KeyManagementUtils
- extends Object
Encryption helpers
|
Method Summary |
static KeyStore |
loadKeyStore(Properties props,
org.apache.cxf.Bus bus)
|
static KeyStore |
loadPersistKeyStore(org.apache.cxf.message.Message m,
Properties props)
|
static PrivateKey |
loadPrivateKey(KeyStore keyStore,
Properties props,
org.apache.cxf.Bus bus,
PrivateKeyPasswordProvider provider)
|
static PrivateKey |
loadPrivateKey(org.apache.cxf.message.Message m,
Properties props,
String passwordProviderProp)
|
static PrivateKey |
loadPrivateKey(org.apache.cxf.message.Message m,
String keyStoreLocProp,
String passwordProviderProp)
|
static PrivateKey |
loadPrivateKey(org.apache.cxf.message.Message m,
String keyStoreLocPropPreferred,
String keyStoreLocPropDefault,
String passwordProviderProp)
|
static PrivateKey |
loadPrivateKey(Properties props,
org.apache.cxf.Bus bus,
PrivateKeyPasswordProvider provider)
|
static PublicKey |
loadPublicKey(org.apache.cxf.message.Message m,
Properties props)
|
static PublicKey |
loadPublicKey(org.apache.cxf.message.Message m,
String keyStoreLocProp)
|
static PublicKey |
loadPublicKey(org.apache.cxf.message.Message m,
String keyStoreLocPropPreferred,
String keyStoreLocPropDefault)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RSSEC_KEY_STORE_TYPE
public static final String RSSEC_KEY_STORE_TYPE
- See Also:
- Constant Field Values
RSSEC_KEY_STORE_PSWD
public static final String RSSEC_KEY_STORE_PSWD
- See Also:
- Constant Field Values
RSSEC_KEY_PSWD
public static final String RSSEC_KEY_PSWD
- See Also:
- Constant Field Values
RSSEC_KEY_STORE_ALIAS
public static final String RSSEC_KEY_STORE_ALIAS
- See Also:
- Constant Field Values
RSSEC_KEY_STORE_FILE
public static final String RSSEC_KEY_STORE_FILE
- See Also:
- Constant Field Values
RSSEC_PRINCIPAL_NAME
public static final String RSSEC_PRINCIPAL_NAME
- See Also:
- Constant Field Values
RSSEC_KEY_PSWD_PROVIDER
public static final String RSSEC_KEY_PSWD_PROVIDER
- See Also:
- Constant Field Values
RSSEC_SIG_KEY_PSWD_PROVIDER
public static final String RSSEC_SIG_KEY_PSWD_PROVIDER
- See Also:
- Constant Field Values
RSSEC_DECRYPT_KEY_PSWD_PROVIDER
public static final String RSSEC_DECRYPT_KEY_PSWD_PROVIDER
- See Also:
- Constant Field Values
loadPublicKey
public static PublicKey loadPublicKey(org.apache.cxf.message.Message m,
Properties props)
loadPublicKey
public static PublicKey loadPublicKey(org.apache.cxf.message.Message m,
String keyStoreLocProp)
loadPublicKey
public static PublicKey loadPublicKey(org.apache.cxf.message.Message m,
String keyStoreLocPropPreferred,
String keyStoreLocPropDefault)
loadPrivateKey
public static PrivateKey loadPrivateKey(Properties props,
org.apache.cxf.Bus bus,
PrivateKeyPasswordProvider provider)
loadPrivateKey
public static PrivateKey loadPrivateKey(KeyStore keyStore,
Properties props,
org.apache.cxf.Bus bus,
PrivateKeyPasswordProvider provider)
loadPrivateKey
public static PrivateKey loadPrivateKey(org.apache.cxf.message.Message m,
String keyStoreLocProp,
String passwordProviderProp)
loadPrivateKey
public static PrivateKey loadPrivateKey(org.apache.cxf.message.Message m,
String keyStoreLocPropPreferred,
String keyStoreLocPropDefault,
String passwordProviderProp)
loadPrivateKey
public static PrivateKey loadPrivateKey(org.apache.cxf.message.Message m,
Properties props,
String passwordProviderProp)
loadPersistKeyStore
public static KeyStore loadPersistKeyStore(org.apache.cxf.message.Message m,
Properties props)
loadKeyStore
public static KeyStore loadKeyStore(Properties props,
org.apache.cxf.Bus bus)
Apache CXF