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 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 type,
                          ASN1ObjectIdentifier oid,
                          java.lang.String className)
      • hasAlgorithm

        boolean hasAlgorithm​(java.lang.String type,
                             java.lang.String name)
      • addAttributes

        void addAttributes​(java.lang.String key,
                           java.util.Map<java.lang.String,​java.lang.String> attributeMap)