@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
GeneralSecurityException
IOException
public void init(X509Certificate caCert, PrivateKey caPrivateKey) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public byte[] createChildKeyStore(org.apache.hadoop.yarn.api.records.ApplicationId appId, String ksPassword) throws Exception
Exception
public byte[] getChildTrustStore(String password) throws GeneralSecurityException, IOException
GeneralSecurityException
IOException
public String generateKeyStorePassword()
public SSLContext createSSLContext(org.apache.hadoop.yarn.api.records.ApplicationId appId) throws GeneralSecurityException
GeneralSecurityException
public HostnameVerifier getHostnameVerifier()
public X509Certificate getCaCert()
public KeyPair getCaKeyPair()
Copyright © 2008–2021 Apache Software Foundation. All rights reserved.