Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.javax.net.ssl.provider
Class SRPTrustManagerFactory.Manager  view SRPTrustManagerFactory.Manager download SRPTrustManagerFactory.Manager.java

java.lang.Object
  extended bygnu.javax.net.ssl.provider.SRPTrustManagerFactory.Manager
All Implemented Interfaces:
gnu.javax.net.ssl.SRPTrustManager, javax.net.ssl.TrustManager
Enclosing class:
SRPTrustManagerFactory

private class SRPTrustManagerFactory.Manager
extends java.lang.Object
implements gnu.javax.net.ssl.SRPTrustManager


Field Summary
private  gnu.javax.crypto.sasl.srp.PasswordFile file
           
 
Constructor Summary
(package private) SRPTrustManagerFactory.Manager(gnu.javax.crypto.sasl.srp.PasswordFile file)
           
 
Method Summary
 boolean contains(java.lang.String user)
          Tests if the configured password file contains the specified user name.
 java.security.KeyPair getKeyPair(java.lang.String user)
          Create and return a session SRP key pair for the given user name.
 gnu.javax.crypto.sasl.srp.PasswordFile getPasswordFile()
          Returns a reference to the SRP gnu.javax.crypto.sasl.srp.PasswordFile used by this javax.net.ssl.TrustManager.
 byte[] getSalt(java.lang.String user)
          Returns the salt value for the given user.
 java.math.BigInteger getVerifier(java.lang.String user)
          Returns the password verifier for the given user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

private final gnu.javax.crypto.sasl.srp.PasswordFile file
Constructor Detail

SRPTrustManagerFactory.Manager

SRPTrustManagerFactory.Manager(gnu.javax.crypto.sasl.srp.PasswordFile file)
Method Detail

contains

public boolean contains(java.lang.String user)
Description copied from interface: gnu.javax.net.ssl.SRPTrustManager
Tests if the configured password file contains the specified user name.

Specified by:
contains in interface gnu.javax.net.ssl.SRPTrustManager

getKeyPair

public java.security.KeyPair getKeyPair(java.lang.String user)
Description copied from interface: gnu.javax.net.ssl.SRPTrustManager
Create and return a session SRP key pair for the given user name.

Specified by:
getKeyPair in interface gnu.javax.net.ssl.SRPTrustManager

getSalt

public byte[] getSalt(java.lang.String user)
Description copied from interface: gnu.javax.net.ssl.SRPTrustManager
Returns the salt value for the given user.

Specified by:
getSalt in interface gnu.javax.net.ssl.SRPTrustManager

getVerifier

public java.math.BigInteger getVerifier(java.lang.String user)
Description copied from interface: gnu.javax.net.ssl.SRPTrustManager
Returns the password verifier for the given user.

Specified by:
getVerifier in interface gnu.javax.net.ssl.SRPTrustManager

getPasswordFile

public gnu.javax.crypto.sasl.srp.PasswordFile getPasswordFile()
Description copied from interface: gnu.javax.net.ssl.SRPTrustManager
Returns a reference to the SRP gnu.javax.crypto.sasl.srp.PasswordFile used by this javax.net.ssl.TrustManager.

Specified by:
getPasswordFile in interface gnu.javax.net.ssl.SRPTrustManager