Interface ConfigurableProvider

All Known Implementing Classes:
BouncyCastlePQCProvider

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 Details

    • THREAD_LOCAL_EC_IMPLICITLY_CA

      static final String THREAD_LOCAL_EC_IMPLICITLY_CA
      Elliptic Curve CA parameters - thread local version
      See Also:
    • EC_IMPLICITLY_CA

      static final String EC_IMPLICITLY_CA
      Elliptic Curve CA parameters - VM wide version
      See Also:
    • THREAD_LOCAL_DH_DEFAULT_PARAMS

      static final String THREAD_LOCAL_DH_DEFAULT_PARAMS
      Diffie-Hellman Default Parameters - thread local version
      See Also:
    • DH_DEFAULT_PARAMS

      static final String DH_DEFAULT_PARAMS
      Diffie-Hellman Default Parameters - VM wide version
      See Also:
    • ACCEPTABLE_EC_CURVES

      static final String ACCEPTABLE_EC_CURVES
      A set of OBJECT IDENTIFIERs representing acceptable named curves for imported keys.
      See Also:
    • ADDITIONAL_EC_PARAMETERS

      static final String ADDITIONAL_EC_PARAMETERS
      A set of OBJECT IDENTIFIERs to EC Curves providing local curve name mapping.
      See Also:
  • Method Details

    • setParameter

      void setParameter(String parameterName, Object parameter)
    • addAlgorithm

      void addAlgorithm(String key, String value)
    • addAlgorithm

      void addAlgorithm(String key, String value, Map<String,String> attributes)
    • addAlgorithm

      void addAlgorithm(String type, org.bouncycastle.asn1.ASN1ObjectIdentifier oid, String className)
    • addAlgorithm

      void addAlgorithm(String type, org.bouncycastle.asn1.ASN1ObjectIdentifier oid, String className, Map<String,String> attributes)
    • hasAlgorithm

      boolean hasAlgorithm(String type, String name)
    • addKeyInfoConverter

      void addKeyInfoConverter(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, AsymmetricKeyInfoConverter keyInfoConverter)
    • getKeyInfoConverter

      AsymmetricKeyInfoConverter getKeyInfoConverter(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
    • addAttributes

      void addAttributes(String key, Map<String,String> attributeMap)