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 RSAPrivateKey
getPrivateKey(String filename)
static X509Certificate
getPublicCertificate(String fileLoc)
static RSAPublicKey
getPublicKey(String filename)
static String
removeSecretsFromUrl(String url)
-
-
-
Method Detail
-
getPublicCertificate
public static X509Certificate getPublicCertificate(String fileLoc) throws IOException, CertificateException
- Throws:
IOException
CertificateException
-
getPrivateKey
public static RSAPrivateKey getPrivateKey(String filename) throws IOException, GeneralSecurityException
- Throws:
IOException
GeneralSecurityException
-
getPublicKey
public static RSAPublicKey getPublicKey(String filename) throws IOException, GeneralSecurityException
- Throws:
IOException
GeneralSecurityException
-
-