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