Class CertificateUtil
java.lang.Object
org.apache.hadoop.security.authentication.util.CertificateUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RSAPublicKeyparseRSAPublicKey(String pem) Gets an RSAPublicKey from the provided PEM encoding.
-
Constructor Details
-
CertificateUtil
public CertificateUtil()
-
-
Method Details
-
parseRSAPublicKey
Gets an RSAPublicKey from the provided PEM encoding.- Parameters:
pem- - the pem encoding from config without the header and footer- Returns:
- RSAPublicKey the RSA public key
- Throws:
javax.servlet.ServletException- thrown if a processing error occurred
-