Provider

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 Token.getObjects(). This way, such token objects can directly be used from standard APIs accepting java.security.Key objects as input.

The provider must be registered by calling 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

public Provider()

Constructs the provider with all possible algorithms.

Provider

public Provider(Token token)

Constructs the provider by considering only algorithms supported by the given token.

Parameters:
  • token – The token on which to get supported algorithms.