use info from SecurityProblem class in health card

This commit is contained in:
Vincent Breitmoser
2017-02-14 17:55:06 +01:00
parent fed0fff9d7
commit 1e8d5bdad3
7 changed files with 132 additions and 24 deletions

View File

@@ -145,7 +145,7 @@ public class PgpSecurityConstants {
}
@Nullable
private static KeySecurityProblem getKeySecurityProblem(long masterKeyId, long subKeyId, int algorithm,
public static KeySecurityProblem getKeySecurityProblem(long masterKeyId, long subKeyId, int algorithm,
Integer bitStrength, String curveOid) {
switch (algorithm) {
case PublicKeyAlgorithmTags.RSA_GENERAL: {