use of de.flexiprovider.core.dsa.interfaces.DSAPrivateKey in project core by jcryptool.
the class DSAPrivateKeyContentProvider method getAlgorithmElements.
@Override
protected List<TableEntry> getAlgorithmElements(Object inputElement) {
List<TableEntry> paramElements = new ArrayList<TableEntry>();
try {
DSAPrivateKey key = (DSAPrivateKey) inputElement;
if (key == null)
return null;
paramElements.add(new TableEntry(Messages.ContentProvider_valuex, key.getValueX().toString()));
paramElements.addAll(getParameters(key));
} catch (ClassCastException e) {
return null;
}
return paramElements;
}
Aggregations