com.bloxbean.cardano.client.crypto.config.CryptoConfiguration Maven / Gradle / Ivy
package com.bloxbean.cardano.client.crypto.config;
import com.bloxbean.cardano.client.crypto.api.SigningProvider;
import com.bloxbean.cardano.client.crypto.api.impl.EdDSASigningProvider;
import com.bloxbean.cardano.client.crypto.bip39.DefaultEntropyProviderImpl;
import com.bloxbean.cardano.client.crypto.bip39.api.EntropyProvider;
public enum CryptoConfiguration {
INSTANCE();
private SigningProvider signingProvider;
private EntropyProvider entropyProvider;
CryptoConfiguration() {
signingProvider = new EdDSASigningProvider();
entropyProvider = new DefaultEntropyProviderImpl();
}
public SigningProvider getSigningProvider() {
return signingProvider;
}
public void setSigningProvider(SigningProvider signingProvider) {
this.signingProvider = signingProvider;
}
public EntropyProvider getEntropyProvider() {
return entropyProvider;
}
public void setEntropyProvider(EntropyProvider entropyProvider) {
this.entropyProvider = entropyProvider;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy