Search in sources :

Example 1 with IQGQParameterSpec

use of de.flexiprovider.nf.iq.iqgq.IQGQParameterSpec in project core by jcryptool.

the class IQGQPrivateKeyContentProvider method getParameters.

private List<TableEntry> getParameters(IQGQPrivateKeySpec keySpec) {
    IQGQParameterSpec params = (IQGQParameterSpec) keySpec.getParams();
    List<TableEntry> paramElements = new ArrayList<TableEntry>();
    // $NON-NLS-2$
    paramElements.add(new TableEntry(Messages.ContentProvider_discriminant, "" + params.getDiscriminant()));
    return paramElements;
}
Also used : TableEntry(org.jcryptool.crypto.keystore.ui.dialogs.TableEntry) IQGQParameterSpec(de.flexiprovider.nf.iq.iqgq.IQGQParameterSpec) ArrayList(java.util.ArrayList)

Example 2 with IQGQParameterSpec

use of de.flexiprovider.nf.iq.iqgq.IQGQParameterSpec in project core by jcryptool.

the class IQGQPublicKeyContentProvider method getParameters.

private List<TableEntry> getParameters(IQGQPublicKeySpec keySpec) {
    IQGQParameterSpec params = (IQGQParameterSpec) keySpec.getParams();
    List<TableEntry> paramElements = new ArrayList<TableEntry>();
    // $NON-NLS-2$
    paramElements.add(new TableEntry(Messages.ContentProvider_discriminant, "" + params.getDiscriminant()));
    return paramElements;
}
Also used : TableEntry(org.jcryptool.crypto.keystore.ui.dialogs.TableEntry) IQGQParameterSpec(de.flexiprovider.nf.iq.iqgq.IQGQParameterSpec) ArrayList(java.util.ArrayList)

Aggregations

IQGQParameterSpec (de.flexiprovider.nf.iq.iqgq.IQGQParameterSpec)2 ArrayList (java.util.ArrayList)2 TableEntry (org.jcryptool.crypto.keystore.ui.dialogs.TableEntry)2