public final class KeyManagementUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
RSSEC_DECRYPT_KEY_PSWD_PROVIDER |
static String |
RSSEC_KEY_PSWD |
static String |
RSSEC_KEY_PSWD_PROVIDER |
static String |
RSSEC_KEY_STORE_ALIAS |
static String |
RSSEC_KEY_STORE_ALIASES |
static String |
RSSEC_KEY_STORE_FILE |
static String |
RSSEC_KEY_STORE_PSWD |
static String |
RSSEC_KEY_STORE_TYPE |
static String |
RSSEC_PRINCIPAL_NAME |
static String |
RSSEC_SIG_KEY_PSWD_PROVIDER |
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
encodeX509CertificateChain(List<X509Certificate> chain) |
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) |
static List<X509Certificate> |
toX509CertificateChain(List<String> base64EncodedChain) |
public static final String RSSEC_KEY_STORE_TYPE
public static final String RSSEC_KEY_STORE_PSWD
public static final String RSSEC_KEY_PSWD
public static final String RSSEC_KEY_STORE_ALIAS
public static final String RSSEC_KEY_STORE_ALIASES
public static final String RSSEC_KEY_STORE_FILE
public static final String RSSEC_PRINCIPAL_NAME
public static final String RSSEC_KEY_PSWD_PROVIDER
public static final String RSSEC_SIG_KEY_PSWD_PROVIDER
public static final String RSSEC_DECRYPT_KEY_PSWD_PROVIDER
public static PublicKey loadPublicKey(org.apache.cxf.message.Message m, Properties props)
public static PublicKey loadPublicKey(org.apache.cxf.message.Message m, String keyStoreLocProp)
public static PublicKey loadPublicKey(org.apache.cxf.message.Message m, String keyStoreLocPropPreferred, String keyStoreLocPropDefault)
public static PrivateKey loadPrivateKey(Properties props, org.apache.cxf.Bus bus, PrivateKeyPasswordProvider provider)
public static PrivateKey loadPrivateKey(KeyStore keyStore, Properties props, org.apache.cxf.Bus bus, PrivateKeyPasswordProvider provider)
public static PrivateKey loadPrivateKey(org.apache.cxf.message.Message m, String keyStoreLocProp, String passwordProviderProp)
public static PrivateKey loadPrivateKey(org.apache.cxf.message.Message m, String keyStoreLocPropPreferred, String keyStoreLocPropDefault, String passwordProviderProp)
public static PrivateKey loadPrivateKey(org.apache.cxf.message.Message m, Properties props, String passwordProviderProp)
public static KeyStore loadPersistKeyStore(org.apache.cxf.message.Message m, Properties props)
public static KeyStore loadKeyStore(Properties props, org.apache.cxf.Bus bus)
public static List<String> encodeX509CertificateChain(List<X509Certificate> chain)
public static List<X509Certificate> toX509CertificateChain(List<String> base64EncodedChain)
Apache CXF