Class Aes.SunPKCS11CipherFactory

  • Enclosing class:
    Aes

    public static class Aes.SunPKCS11CipherFactory
    extends CipherFactory
    Implements CipherFactory using Sun PKCS#11.
    Author:
    Lyubomir Marinov
    • Constructor Detail

      • SunPKCS11CipherFactory

        public SunPKCS11CipherFactory()
                               throws Exception
        Initializes a new instance of this class.
        Throws:
        Exception - if anything goes wrong while initializing a new instance
    • Method Detail

      • getProvider

        public static Provider getProvider()
                                    throws Exception
        Gets the java.security.Provider instance (to be) employed for an (optimized) AES implementation.
        Returns:
        the java.security.Provider instance (to be) employed for an (optimized) AES implementation
        Throws:
        Exception