public final class SASLByteChannel extends Object implements ConnectionSecurityProvider
| 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.
|
static SASLByteChannel |
getSASLByteChannel(ClientConnection c,
String name,
SASLContext context)
Return a SASL byte channel instance created using the specified parameters.
|
int |
getSSF()
Return a Security Strength Factor.
|
boolean |
isSecure()
Return
true if a provider is secure. |
public static SASLByteChannel getSASLByteChannel(ClientConnection c, String name, SASLContext context)
c - A client connection associated with the instance.name - The name of the instance (SASL mechanism name).context - A SASL context associated with the instance.public ByteChannel getChannel()
getChannel in interface ConnectionSecurityProviderpublic Certificate[] getClientCertificateChain()
getClientCertificateChain in interface ConnectionSecurityProviderpublic String getName()
getName in interface ConnectionSecurityProviderpublic int getSSF()
getSSF in interface ConnectionSecurityProviderpublic boolean isSecure()
true if a provider is secure.isSecure in interface ConnectionSecurityProvidertrue if a provider is secure.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.