org.apache.rahas.impl
Class TokenIssuerUtil

java.lang.Object
  extended by org.apache.rahas.impl.TokenIssuerUtil

public class TokenIssuerUtil
extends java.lang.Object


Field Summary
static java.lang.String BINARY_SECRET
           
static java.lang.String ENCRYPTED_KEY
           
 
Constructor Summary
TokenIssuerUtil()
           
 
Method Summary
static byte[] getSharedSecret(RahasData data, int keyComputation, int keySize)
           
static void handleRequestedProofToken(RahasData data, int wstVersion, AbstractIssuerConfig config, org.apache.axiom.om.OMElement rstrElem, Token token, org.w3c.dom.Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENCRYPTED_KEY

public static final java.lang.String ENCRYPTED_KEY
See Also:
Constant Field Values

BINARY_SECRET

public static final java.lang.String BINARY_SECRET
See Also:
Constant Field Values
Constructor Detail

TokenIssuerUtil

public TokenIssuerUtil()
Method Detail

getSharedSecret

public static byte[] getSharedSecret(RahasData data,
                                     int keyComputation,
                                     int keySize)
                              throws TrustException
Throws:
TrustException

handleRequestedProofToken

public static void handleRequestedProofToken(RahasData data,
                                             int wstVersion,
                                             AbstractIssuerConfig config,
                                             org.apache.axiom.om.OMElement rstrElem,
                                             Token token,
                                             org.w3c.dom.Document doc)
                                      throws TrustException
Throws:
TrustException