![JAR search and dependency download from the Maven repository](/logo.png)
com.mastercard.developer.utils.SecurityUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oauth1-signer Show documentation
Show all versions of oauth1-signer Show documentation
Zero dependency library for generating a Mastercard API compliant OAuth signature
The newest version!
package com.mastercard.developer.utils;
import java.io.IOException;
import java.security.*;
import java.security.cert.CertificateException;
/**
* Utility class.
* @deprecated Use {@link com.mastercard.developer.utils.AuthenticationUtils} instead.
*/
@Deprecated
public final class SecurityUtils {
private SecurityUtils() {
}
@Deprecated
public static PrivateKey loadPrivateKey(String pkcs12KeyFilePath,
String keyAlias,
String keyPassword) throws IOException, KeyStoreException, CertificateException, NoSuchAlgorithmException, UnrecoverableKeyException {
return AuthenticationUtils.loadSigningKey(pkcs12KeyFilePath, keyAlias, keyPassword);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy