List of usage examples for org.bouncycastle.crypto.params MGFParameters getSeed
public byte[] getSeed()
From source file:org.ethereum.crypto.MGF1BytesGeneratorExt.java
License:Open Source License
public void init(DerivationParameters param) { if (!(param instanceof MGFParameters)) { throw new IllegalArgumentException("MGF parameters required for MGF1Generator"); } else {/*from w w w .ja va2s. co m*/ MGFParameters p = (MGFParameters) param; this.seed = p.getSeed(); } }