Rename methods related only to security tokens
This commit is contained in:
1 parent
3a20dee36f
commit
42b5e291ca
4 files changed
+11
-11
No files matched your search
+1
-1
@@ -37,7 +37,7 @@ public class SecurityTokenUtils {
|
||||
public static byte[] attributesFromSecretKey(final KeyType slot, final CanonicalizedSecretKey secretKey) throws IOException, PgpGeneralException {
|
||||
if (secretKey.isRSA()) {
|
||||
final int mModulusLength = secretKey.getBitStrength();
|
||||
final int mExponentLength = secretKey.getCrtSecretKey().getPublicExponent().bitLength();
|
||||
final int mExponentLength = secretKey.getSecurityTokenRSASecretKey().getPublicExponent().bitLength();
|
||||
final byte[] attrs = new byte[6];
|
||||
int i = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user