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 java.lang.String
ACCEPTABLE_EC_CURVES
A set of OBJECT IDENTIFIERs representing acceptable named curves for imported keys.static java.lang.String
ADDITIONAL_EC_PARAMETERS
A set of OBJECT IDENTIFIERs to EC Curves providing local curve name mapping.static java.lang.String
DH_DEFAULT_PARAMS
Diffie-Hellman Default Parameters - VM wide versionstatic java.lang.String
EC_IMPLICITLY_CA
Elliptic Curve CA parameters - VM wide versionstatic java.lang.String
THREAD_LOCAL_DH_DEFAULT_PARAMS
Diffie-Hellman Default Parameters - thread local versionstatic java.lang.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(java.lang.String key, java.lang.String value)
void
addAlgorithm(java.lang.String key, java.lang.String value, java.util.Map attributes)
void
addAlgorithm(java.lang.String type, ASN1ObjectIdentifier oid, java.lang.String className)
void
addAlgorithm(java.lang.String type, ASN1ObjectIdentifier oid, java.lang.String className, java.util.Map attributes)
void
addAttributes(java.lang.String key, java.util.Map attributeMap)
void
addKeyInfoConverter(ASN1ObjectIdentifier oid, AsymmetricKeyInfoConverter keyInfoConverter)
AsymmetricKeyInfoConverter
getKeyInfoConverter(ASN1ObjectIdentifier oid)
boolean
hasAlgorithm(java.lang.String type, java.lang.String name)
void
setParameter(java.lang.String parameterName, java.lang.Object parameter)
-
-
-
Field Detail
-
THREAD_LOCAL_EC_IMPLICITLY_CA
static final java.lang.String THREAD_LOCAL_EC_IMPLICITLY_CA
Elliptic Curve CA parameters - thread local version- See Also:
- Constant Field Values
-
EC_IMPLICITLY_CA
static final java.lang.String EC_IMPLICITLY_CA
Elliptic Curve CA parameters - VM wide version- See Also:
- Constant Field Values
-
THREAD_LOCAL_DH_DEFAULT_PARAMS
static final java.lang.String THREAD_LOCAL_DH_DEFAULT_PARAMS
Diffie-Hellman Default Parameters - thread local version- See Also:
- Constant Field Values
-
DH_DEFAULT_PARAMS
static final java.lang.String DH_DEFAULT_PARAMS
Diffie-Hellman Default Parameters - VM wide version- See Also:
- Constant Field Values
-
ACCEPTABLE_EC_CURVES
static final java.lang.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 java.lang.String ADDITIONAL_EC_PARAMETERS
A set of OBJECT IDENTIFIERs to EC Curves providing local curve name mapping.- See Also:
- Constant Field Values
-
-
Method Detail
-
setParameter
void setParameter(java.lang.String parameterName, java.lang.Object parameter)
-
addAlgorithm
void addAlgorithm(java.lang.String key, java.lang.String value)
-
addAlgorithm
void addAlgorithm(java.lang.String key, java.lang.String value, java.util.Map attributes)
-
addAlgorithm
void addAlgorithm(java.lang.String type, ASN1ObjectIdentifier oid, java.lang.String className)
-
addAlgorithm
void addAlgorithm(java.lang.String type, ASN1ObjectIdentifier oid, java.lang.String className, java.util.Map attributes)
-
hasAlgorithm
boolean hasAlgorithm(java.lang.String type, java.lang.String name)
-
addKeyInfoConverter
void addKeyInfoConverter(ASN1ObjectIdentifier oid, AsymmetricKeyInfoConverter keyInfoConverter)
-
getKeyInfoConverter
AsymmetricKeyInfoConverter getKeyInfoConverter(ASN1ObjectIdentifier oid)
-
addAttributes
void addAttributes(java.lang.String key, java.util.Map attributeMap)
-
-