@InterfaceAudience.Private @InterfaceStability.Unstable public class ProxyCA extends Object
| Constructor and Description |
|---|
ProxyCA() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createChildKeyStore(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String ksPassword) |
SSLContext |
createSSLContext(org.apache.hadoop.yarn.api.records.ApplicationId appId) |
String |
generateKeyStorePassword() |
X509Certificate |
getCaCert() |
KeyPair |
getCaKeyPair() |
byte[] |
getChildTrustStore(String password) |
HostnameVerifier |
getHostnameVerifier() |
void |
init() |
void |
init(X509Certificate caCert,
PrivateKey caPrivateKey) |
public void init()
throws GeneralSecurityException,
IOException
GeneralSecurityExceptionIOExceptionpublic void init(X509Certificate caCert, PrivateKey caPrivateKey) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionpublic byte[] createChildKeyStore(org.apache.hadoop.yarn.api.records.ApplicationId appId,
String ksPassword)
throws Exception
Exceptionpublic byte[] getChildTrustStore(String password) throws GeneralSecurityException, IOException
GeneralSecurityExceptionIOExceptionpublic String generateKeyStorePassword()
public SSLContext createSSLContext(org.apache.hadoop.yarn.api.records.ApplicationId appId) throws GeneralSecurityException
GeneralSecurityExceptionpublic HostnameVerifier getHostnameVerifier()
@VisibleForTesting public X509Certificate getCaCert()
@VisibleForTesting public KeyPair getCaKeyPair()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.