All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.daedafusion.service.bootstrap.BootstrapCrypto Maven / Gradle / Ivy

There is a newer version: 1.1
Show newest version
package com.daedafusion.service.bootstrap;

import com.daedafusion.crypto.Crypto;
import com.daedafusion.crypto.CryptoFactory;
import org.apache.log4j.Logger;

/**
 * Created by mphilpot on 6/30/14.
 */
public class BootstrapCrypto implements Bootstrap
{
    private static final Logger log = Logger.getLogger(BootstrapCrypto.class);

    @Override
    public Bootstrap boot() throws BootstrapException
    {
        // Cause crypto to initialize
        Crypto.getProperty(Crypto.KEY_MATERIAL_PROVIDER);

        CryptoFactory.getInstance();

        return this;
    }

    @Override
    public void teardown()
    {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy