public final class TLSByteChannel extends Object implements ConnectionSecurityProvider
Constructor and Description |
---|
TLSByteChannel(ByteChannel channel,
SSLEngine sslEngine)
Creates an TLS byte channel instance using the specified LDAP connection
configuration, client connection, SSL context and socket channel
parameters.
|
Modifier and Type | Method and Description |
---|---|
ByteChannel |
getChannel()
Returns the security provider's byte channel.
|
Certificate[] |
getClientCertificateChain()
Return a certificate chain array.
|
String |
getName()
Return the name of a provider.
|
int |
getSSF()
Return a Security Strength Factor.
|
boolean |
isSecure()
Return
true if a provider is secure. |
public TLSByteChannel(ByteChannel channel, SSLEngine sslEngine)
channel
- The underlying channel.sslEngine
- The SSL engine to use.public ByteChannel getChannel()
getChannel
in interface ConnectionSecurityProvider
public Certificate[] getClientCertificateChain()
getClientCertificateChain
in interface ConnectionSecurityProvider
public String getName()
getName
in interface ConnectionSecurityProvider
public int getSSF()
getSSF
in interface ConnectionSecurityProvider
public boolean isSecure()
true
if a provider is secure.isSecure
in interface ConnectionSecurityProvider
true
if a provider is secure.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.