Ejemplo n.º 1
0
        private void WritePrivateKeyToWindowsKeystore(AsymmetricCipherKeyPair asymmetricCipherKeyPair, EnrollementDTO enrollmentDTO)
        {
            WindowsKeystoreHandler windowsKeystoreHandler = new WindowsKeystoreHandler();

            windowsKeystoreHandler.writePrivateKey(asymmetricCipherKeyPair, enrollmentDTO.ID);
        }
Ejemplo n.º 2
0
        public void CertificateGeneratorForWindowsKeystore(X509Certificate x509certificate, long enrollmentId)
        {
            WindowsKeystoreHandler windowsKeystoreHandler = new WindowsKeystoreHandler();

            windowsKeystoreHandler.writeCertificate(x509certificate, enrollmentId);
        }