@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()
public X509Certificate getCaCert()
public KeyPair getCaKeyPair()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.