Class SecurityUtils
- java.lang.Object
-
- com.microsoft.azure.kusto.ingest.utils.SecurityUtils
-
public class SecurityUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RSAPrivateKeygetPrivateKey(String filename)static X509CertificategetPublicCertificate(String fileLoc)static RSAPublicKeygetPublicKey(String filename)static StringremoveSecretsFromUrl(String url)
-
-
-
Method Detail
-
getPublicCertificate
public static X509Certificate getPublicCertificate(String fileLoc) throws IOException, CertificateException
- Throws:
IOExceptionCertificateException
-
getPrivateKey
public static RSAPrivateKey getPrivateKey(String filename) throws IOException, GeneralSecurityException
- Throws:
IOExceptionGeneralSecurityException
-
getPublicKey
public static RSAPublicKey getPublicKey(String filename) throws IOException, GeneralSecurityException
- Throws:
IOExceptionGeneralSecurityException
-
-