This project has retired. For details please refer to its
Attic page.
MD5Generator (Apache Oltu - OAuth 2.0 1.0.1-SNAPSHOT API)
org.apache.oltu.oauth2.as.issuer
Class MD5Generator
java.lang.Object
org.apache.oltu.oauth2.as.issuer.MD5Generator
- All Implemented Interfaces:
- ValueGenerator
public class MD5Generator
- extends Object
- implements ValueGenerator
Exemplar OAuth Token Generator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MD5Generator
public MD5Generator()
generateValue
public String generateValue()
throws OAuthSystemException
- Specified by:
generateValue in interface ValueGenerator
- Throws:
OAuthSystemException
toHexString
public static String toHexString(byte[] data)
generateValue
public String generateValue(String param)
throws OAuthSystemException
- Specified by:
generateValue in interface ValueGenerator
- Throws:
OAuthSystemException
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.