public class PemServerSSLContextFactory extends Object implements SSLContextFactory
| 构造器和说明 |
|---|
PemServerSSLContextFactory(InputStream fullPem) |
PemServerSSLContextFactory(InputStream certPem,
InputStream keyPem) |
public PemServerSSLContextFactory(InputStream fullPem) throws IOException
IOExceptionpublic PemServerSSLContextFactory(InputStream certPem, InputStream keyPem) throws IOException
IOExceptionpublic SSLContext create() throws Exception
create 在接口中 SSLContextFactoryExceptionCopyright © 2024. All rights reserved.