com.dyuproject.openid
Class SessionType
java.lang.Object
com.dyuproject.openid.SessionType
public final class SessionType
- extends Object
The type of session for an association.
- Author:
- David Yu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HMAC_SHA1
public static final SessionType HMAC_SHA1
HMAC_SHA256
public static final SessionType HMAC_SHA256
getDefault
public static SessionType getDefault()
getSessionType
public String getSessionType()
getAssociationType
public String getAssociationType()
getDigestType
public String getDigestType()
getAlgorithm
public String getAlgorithm()
getSignature
public byte[] getSignature(byte[] secretKey,
byte[] toSign)
throws Exception
- Throws:
Exception
Copyright © 2013. All Rights Reserved.