blob: a5b07d24bc2243aac226793fc05bbfd51efd3ea4 [file] [log] [blame]
/* GENERATED SOURCE. DO NOT MODIFY. */
package com.android.internal.org.bouncycastle.crypto.params;
import java.math.BigInteger;
/**
* @hide This class is not part of the Android public SDK API
*/
public class ECPrivateKeyParameters
extends ECKeyParameters
{
private final BigInteger d;
public ECPrivateKeyParameters(
BigInteger d,
ECDomainParameters parameters)
{
super(true, parameters);
this.d = parameters.validatePrivateScalar(d);
}
public BigInteger getD()
{
return d;
}
}