public final class KeyManagementUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
RSSEC_DECRYPT_KEY_PSWD_PROVIDER |
static String |
RSSEC_DEFAULT_ALGORITHMS |
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_REPORT_KEY_PROP |
static String |
RSSEC_SIG_KEY_PSWD_PROVIDER |
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 final String RSSEC_DEFAULT_ALGORITHMS
public static final String RSSEC_REPORT_KEY_PROP
public static List<String> loadAndEncodeX509CertificateOrChain(Message m, Properties props)
public static X509Certificate[] loadX509CertificateOrChain(Message m, Properties props)
public static PublicKey loadPublicKey(Message m, Properties props)
public static PublicKey loadPublicKey(Message m, String keyStoreLocPropPreferred, String keyStoreLocPropDefault)
public static PrivateKey loadPrivateKey(Message m, String keyStoreLocProp, String keyOper)
public static PrivateKey loadPrivateKey(Message m, String keyStoreLocPropPreferred, String keyStoreLocPropDefault, String keyOper)
public static String getKeyId(Message m, Properties props, String preferredPropertyName, String keyOper)
public static PrivateKeyPasswordProvider loadPasswordProvider(Message m, Properties props, String keyOper)
public static PrivateKey loadPrivateKey(Message m, Properties props, String keyOper)
public static KeyStore loadPersistKeyStore(Message m, Properties props)
public static KeyStore loadKeyStore(Properties props, Bus bus)
public static List<String> encodeX509CertificateChain(X509Certificate[] chain)
public static List<String> encodeX509CertificateChain(List<X509Certificate> chain)
public static List<X509Certificate> toX509CertificateChain(List<String> base64EncodedChain)
public static void validateCertificateChain(Properties storeProperties, List<X509Certificate> inCerts)
public static void validateCertificateChain(KeyStore ks, List<X509Certificate> inCerts)
public static X509Certificate[] toX509CertificateChainArray(List<String> base64EncodedChain)
public static String getKeyAlgorithm(Message m, Properties props, String propName, String defaultAlg)
public static Properties loadStoreProperties(Message m, boolean required, String storeProp1, String storeProp2)
public static PrivateKey loadPrivateKey(Message m, Properties props, List<X509Certificate> inCerts, String keyOper)
Apache CXF