Interface ConfigurableProvider
-
- All Known Implementing Classes:
BouncyCastlePQCProvider
,BouncyCastleProvider
public interface ConfigurableProvider
Implemented by the BC provider. This allows setting of hidden parameters, such as the ImplicitCA parameters from X.962, if used.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACCEPTABLE_EC_CURVES
A set of OBJECT IDENTIFIERs representing acceptable named curves for imported keys.static String
ADDITIONAL_EC_PARAMETERS
A set of OBJECT IDENTIFIERs to EC Curves providing local curve name mapping.static String
DH_DEFAULT_PARAMS
Diffie-Hellman Default Parameters - VM wide versionstatic String
EC_IMPLICITLY_CA
Elliptic Curve CA parameters - VM wide versionstatic String
THREAD_LOCAL_DH_DEFAULT_PARAMS
Diffie-Hellman Default Parameters - thread local versionstatic String
THREAD_LOCAL_EC_IMPLICITLY_CA
Elliptic Curve CA parameters - thread local version
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAlgorithm(String key, String value)
void
addAlgorithm(String type, ASN1ObjectIdentifier oid, String className)
void
addAttributes(String key, Map<String,String> attributeMap)
void
addKeyInfoConverter(ASN1ObjectIdentifier oid, AsymmetricKeyInfoConverter keyInfoConverter)
AsymmetricKeyInfoConverter
getKeyInfoConverter(ASN1ObjectIdentifier oid)
boolean
hasAlgorithm(String type, String name)
void
setParameter(String parameterName, Object parameter)
-
-
-
Field Detail
-
THREAD_LOCAL_EC_IMPLICITLY_CA
static final String THREAD_LOCAL_EC_IMPLICITLY_CA
Elliptic Curve CA parameters - thread local version- See Also:
- Constant Field Values
-
EC_IMPLICITLY_CA
static final String EC_IMPLICITLY_CA
Elliptic Curve CA parameters - VM wide version- See Also:
- Constant Field Values
-
THREAD_LOCAL_DH_DEFAULT_PARAMS
static final String THREAD_LOCAL_DH_DEFAULT_PARAMS
Diffie-Hellman Default Parameters - thread local version- See Also:
- Constant Field Values
-
DH_DEFAULT_PARAMS
static final String DH_DEFAULT_PARAMS
Diffie-Hellman Default Parameters - VM wide version- See Also:
- Constant Field Values
-
ACCEPTABLE_EC_CURVES
static final String ACCEPTABLE_EC_CURVES
A set of OBJECT IDENTIFIERs representing acceptable named curves for imported keys.- See Also:
- Constant Field Values
-
ADDITIONAL_EC_PARAMETERS
static final String ADDITIONAL_EC_PARAMETERS
A set of OBJECT IDENTIFIERs to EC Curves providing local curve name mapping.- See Also:
- Constant Field Values
-
-
Method Detail
-
addAlgorithm
void addAlgorithm(String type, ASN1ObjectIdentifier oid, String className)
-
addKeyInfoConverter
void addKeyInfoConverter(ASN1ObjectIdentifier oid, AsymmetricKeyInfoConverter keyInfoConverter)
-
getKeyInfoConverter
AsymmetricKeyInfoConverter getKeyInfoConverter(ASN1ObjectIdentifier oid)
-
-