use of de.flexiprovider.core.dsa.interfaces.DSAParams in project core by jcryptool.
the class DSAPrivateKeyContentProvider method getParameters.
private List<TableEntry> getParameters(DSAKey key) {
DSAParams params = (DSAParams) key.getParams();
List<TableEntry> paramElements = new ArrayList<TableEntry>();
// $NON-NLS-2$
paramElements.add(new TableEntry(Messages.ContentProvider_baseg, "" + params.getBaseG()));
// $NON-NLS-2$
paramElements.add(new TableEntry(Messages.ContentProvider_primep, "" + params.getPrimeP()));
// $NON-NLS-2$
paramElements.add(new TableEntry(Messages.ContentProvider_primeq, "" + params.getPrimeQ()));
return paramElements;
}
use of de.flexiprovider.core.dsa.interfaces.DSAParams in project core by jcryptool.
the class DSAPublicKeyContentProvider method getParameters.
private List<TableEntry> getParameters(DSAKey key) {
DSAParams params = (DSAParams) key.getParams();
List<TableEntry> paramElements = new ArrayList<TableEntry>();
// $NON-NLS-2$
paramElements.add(new TableEntry(Messages.ContentProvider_baseg, "" + params.getBaseG()));
// $NON-NLS-2$
paramElements.add(new TableEntry(Messages.ContentProvider_primep, "" + params.getPrimeP()));
// $NON-NLS-2$
paramElements.add(new TableEntry(Messages.ContentProvider_primeq, "" + params.getPrimeQ()));
return paramElements;
}
Aggregations