Class P11KeypairGenerator

    • Field Detail

      • cryptServiceFactory

        protected final org.xipki.security.pkcs11.P11CryptServiceFactory cryptServiceFactory
      • slot

        protected org.xipki.security.pkcs11.P11Slot slot
    • Constructor Detail

      • P11KeypairGenerator

        public P11KeypairGenerator​(org.xipki.security.pkcs11.P11CryptServiceFactory cryptServiceFactory)
    • Method Detail

      • initialize0

        public void initialize0​(org.xipki.util.ConfPairs conf)
                         throws org.xipki.security.XiSecurityException
        Specified by:
        initialize0 in class org.xipki.ca.api.kpgen.KeypairGenerator
        Throws:
        org.xipki.security.XiSecurityException
      • generateKeypair

        public org.bouncycastle.asn1.pkcs.PrivateKeyInfo generateKeypair​(String keyspec)
                                                                  throws org.xipki.security.XiSecurityException
        Specified by:
        generateKeypair in class org.xipki.ca.api.kpgen.KeypairGenerator
        Throws:
        org.xipki.security.XiSecurityException
      • isHealthy

        public boolean isHealthy()
        Specified by:
        isHealthy in class org.xipki.ca.api.kpgen.KeypairGenerator