public class BouncyCastlePQCProvider extends Provider implements ConfigurableProvider
Provider.Service
Modifier and Type | Field and Description |
---|---|
static ProviderConfiguration |
CONFIGURATION |
static String |
PROVIDER_NAME |
defaults
ACCEPTABLE_EC_CURVES, ADDITIONAL_EC_PARAMETERS, DH_DEFAULT_PARAMS, EC_IMPLICITLY_CA, THREAD_LOCAL_DH_DEFAULT_PARAMS, THREAD_LOCAL_EC_IMPLICITLY_CA
Constructor and Description |
---|
BouncyCastlePQCProvider()
Construct a new provider.
|
Modifier and Type | Method and Description |
---|---|
void |
addAlgorithm(String type,
ASN1ObjectIdentifier oid,
String className) |
void |
addAlgorithm(String key,
String value) |
void |
addKeyInfoConverter(ASN1ObjectIdentifier oid,
AsymmetricKeyInfoConverter keyInfoConverter) |
static PrivateKey |
getPrivateKey(PrivateKeyInfo privateKeyInfo) |
static PublicKey |
getPublicKey(SubjectPublicKeyInfo publicKeyInfo) |
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, values
getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
clone, contains, containsKey, containsValue, equals, hashCode, isEmpty, rehash, size
public static String PROVIDER_NAME
public static final ProviderConfiguration CONFIGURATION
public BouncyCastlePQCProvider()
Security.addProvider()
mechanism.public void setParameter(String parameterName, Object parameter)
setParameter
in interface ConfigurableProvider
public boolean hasAlgorithm(String type, String name)
hasAlgorithm
in interface ConfigurableProvider
public void addAlgorithm(String key, String value)
addAlgorithm
in interface ConfigurableProvider
public void addAlgorithm(String type, ASN1ObjectIdentifier oid, String className)
addAlgorithm
in interface ConfigurableProvider
public void addKeyInfoConverter(ASN1ObjectIdentifier oid, AsymmetricKeyInfoConverter keyInfoConverter)
addKeyInfoConverter
in interface ConfigurableProvider
public static PublicKey getPublicKey(SubjectPublicKeyInfo publicKeyInfo) throws IOException
IOException
public static PrivateKey getPrivateKey(PrivateKeyInfo privateKeyInfo) throws IOException
IOException
Copyright © 2018 BouncyCastle.org. All rights reserved.