skip algorithm screen for security tokens version < 3.0
This commit is contained in:
@@ -74,7 +74,7 @@ public class ECKeyFormat extends KeyFormat {
|
||||
public final boolean isWithPubkey() { return mWithPubkey; }
|
||||
}
|
||||
|
||||
public void addToKeyring(SaveKeyringParcel keyring, int keyFlags) {
|
||||
public void addToSaveKeyringParcel(SaveKeyringParcel keyring, int keyFlags) {
|
||||
final X9ECParameters params = NISTNamedCurves.getByOID(mECCurveOID);
|
||||
final ECCurve curve = params.getCurve();
|
||||
|
||||
|
||||
@@ -94,6 +94,6 @@ public abstract class KeyFormat {
|
||||
throw new IllegalArgumentException("Unsupported Algorithm id " + t);
|
||||
}
|
||||
|
||||
public abstract void addToKeyring(SaveKeyringParcel keyring, int keyFlags);
|
||||
public abstract void addToSaveKeyringParcel(SaveKeyringParcel keyring, int keyFlags);
|
||||
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ public class RSAKeyFormat extends KeyFormat {
|
||||
}
|
||||
}
|
||||
|
||||
public void addToKeyring(SaveKeyringParcel keyring, int keyFlags) {
|
||||
public void addToSaveKeyringParcel(SaveKeyringParcel keyring, int keyFlags) {
|
||||
keyring.mAddSubKeys.add(new SaveKeyringParcel.SubkeyAdd(SaveKeyringParcel.Algorithm.RSA,
|
||||
mModulusLength, null, keyFlags, 0L));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user