public final class BouncyCastleKeyFactoryProvider extends Provider
BouncyCastleProvider which provides only RSA/DSA/EC KeyFactorySpis.Provider.Servicedefaults| Modifier and Type | Method and Description |
|---|---|
void |
addAlgorithm(String type,
ASN1ObjectIdentifier oid,
String className) |
void |
addAlgorithm(String key,
String value) |
void |
addAttributes(String key,
Map<String,String> attributeMap) |
void |
addKeyInfoConverter(ASN1ObjectIdentifier oid,
AsymmetricKeyInfoConverter keyInfoConverter) |
static <T> T |
call(Callable<T> task)
Invokes the specified
Callable with BouncyCastleKeyFactoryProvider enabled temporarily. |
static void |
call(Runnable task)
Invokes the specified
Runnable with BouncyCastleKeyFactoryProvider enabled temporarily. |
boolean |
hasAlgorithm(String type,
String name) |
void |
setParameter(String parameterName,
Object parameter) |
clear, compute, computeIfAbsent, computeIfPresent, elements, entrySet, forEach, get, getInfo, getName, getOrDefault, getProperty, getService, getServices, getVersion, keys, keySet, load, merge, put, putAll, putIfAbsent, putService, remove, remove, removeService, replace, replace, replaceAll, toString, valuesgetProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNamesclone, contains, containsKey, containsValue, equals, hashCode, isEmpty, rehash, sizepublic static void call(Runnable task)
Runnable with BouncyCastleKeyFactoryProvider enabled temporarily.public static <T> T call(Callable<T> task) throws Exception
Callable with BouncyCastleKeyFactoryProvider enabled temporarily.Exceptionpublic void addKeyInfoConverter(ASN1ObjectIdentifier oid,
AsymmetricKeyInfoConverter keyInfoConverter)
Copyright © 2020 LeanCloud. All rights reserved.