Skip to content

Commit

Permalink
Follow to extension class renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdettman committed Mar 7, 2017
1 parent 959d9c4 commit cf5b245
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import java.net.Socket;

import org.bouncycastle.est.jcajce.ChannelBindingProvider;
import org.bouncycastle.jsse.BcSSLConnection;
import org.bouncycastle.jsse.BcSSLSocket;
import org.bouncycastle.jsse.BCSSLConnection;
import org.bouncycastle.jsse.BCSSLSocket;

/**
* BouncyCastle specific channel binding provider.
Expand All @@ -16,12 +16,12 @@ public class BCChannelBindingProvider
{
public boolean canAccessChannelBinding(Socket sock)
{
return sock instanceof BcSSLSocket;
return sock instanceof BCSSLSocket;
}

public byte[] getChannelBinding(Socket sock, String binding)
{
BcSSLConnection bcon = ((BcSSLSocket)sock).getConnection();
BCSSLConnection bcon = ((BCSSLSocket)sock).getConnection();
if (bcon != null)
{
return bcon.getChannelBinding(binding);
Expand Down
3 changes: 2 additions & 1 deletion tls/src/main/java/org/bouncycastle/jsse/BCSSLConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
public interface BCSSLConnection
{
/**
* Request TLS Channel Bindings for this connection. See <a href="">RFC 5929</a> for details.
* Request TLS Channel Bindings for this connection. See
* <a href="https://tools.ietf.org/html/rfc5929">RFC 5929</a> for details.
*
* @param channelBinding
* An IANA-registered "Channel-binding unique prefix" valid for TLS e.g. "tls-unique".
Expand Down
6 changes: 3 additions & 3 deletions tls/src/main/java/org/bouncycastle/jsse/BCSSLEngine.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
public interface BCSSLEngine
{
/**
* Returns an accessor for extended SSL connection data. Unlike BcSSLSocket.getSession() this
* method does not block until handshaking is complete. Until the initial handshake has
* completed, this method returns <c>null</c>.
* Returns an accessor for extended SSL connection data. Unlike
* {@link BCSSLSocket#getConnection} this method does not block until handshaking is complete.
* Until the initial handshake has completed, this method returns <c>null</c>.
*
* @return A {@link BCSSLConnection} instance.
*/
Expand Down

0 comments on commit cf5b245

Please sign in to comment.