.. java:import:: com.idopte.scmapi Token .. java:import:: java.security AccessController .. java:import:: java.security PrivilegedAction .. java:import:: java.util List Provider ======== .. java:package:: com.idopte.scmapi.jca :noindex: .. java:type:: public class Provider extends java.security.Provider The Smart Card Middleware JCA provider, named \ ``Idopte SCMiddleware``\ or \ ``Idopte``\ , supports public and private key objects obtained from \ :java:ref:`Token.getObjects()`\ . This way, such token objects can directly be used from standard APIs accepting \ :java:ref:`java.security.Key`\ objects as input. The provider must be registered by calling \ :java:ref:`java.security.Security.addProvider(java.security.Provider)`\ . Supported algorithms are the following: .. * \ ``MessageDigest.SHA-1``\ * \ ``MessageDigest.SHA-256``\ * \ ``MessageDigest.SHA-384``\ * \ ``MessageDigest.SHA-512``\ * \ ``Signature.NONEwithRSA``\ * \ ``Signature.SHA1withRSA``\ * \ ``Signature.SHA256withRSA``\ * \ ``Signature.SHA384withRSA``\ * \ ``Signature.SHA512withRSA``\ * \ ``Signature.SHA1withRSA/PSS``\ * \ ``Signature.SHA256withRSA/PSS``\ * \ ``Signature.SHA384withRSA/PSS``\ * \ ``Signature.SHA512withRSA/PSS``\ * \ ``Cipher.RSA``\ * \ ``Cipher.RSA/ECB/PKCS1Padding``\ * \ ``Cipher.RSA/ECB/NoPadding``\ Constructors ------------ Provider ^^^^^^^^ .. java:constructor:: public Provider() :outertype: Provider Constructs the provider with all possible algorithms. Provider ^^^^^^^^ .. java:constructor:: public Provider(Token token) :outertype: Provider Constructs the provider by considering only algorithms supported by the given token. :param token: The token on which to get supported algorithms.