xipki / pkcs11wrapper

PKCS#11 Wrapper for Java. Deprecated. Please use xipki/ipkcs11wrapper (preferred) or xipki/jpkcs11wrapper instead.
Other
34 stars 13 forks source link

chore : Unknwon instead of Unknown in mechanismCodeToString() #12

Closed DavidRobertKeller closed 2 years ago

DavidRobertKeller commented 2 years ago
 public static String mechanismCodeToString(long mechCode) {
    initMechanismMap();
    String name = mechCodeNamesAvailable ? mechNames.get(mechCode) : null;

    if (name == null) {
      name = "Unknwon mechanism with code: 0x" + toFullHex(mechCode);
    }

    return name;
  }
xipki commented 2 years ago

Thanks. Fixed.