com.netscape.certsrv.base
Class Nonces
java.lang.Object
com.netscape.certsrv.base.Nonces
- All Implemented Interfaces:
- IAuthInfo
public class Nonces
- extends java.lang.Object
- implements IAuthInfo
This class manages nonces sometimes used to control request state flow.
- Version:
- $Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $
Constructor Summary |
Nonces()
Constructs nonces. |
Nonces(int limit)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Nonces
public Nonces()
- Constructs nonces.
Nonces
public Nonces(int limit)
addNonce
public long addNonce(long nonce,
java.security.cert.X509Certificate cert)
getCertificate
public java.security.cert.X509Certificate getCertificate(long nonce)
getCertificate
public java.security.cert.X509Certificate getCertificate(int index)
getNonce
public long getNonce(int index)
removeNonce
public void removeNonce(long nonce)
size
public int size()
maxSize
public int maxSize()
clear
public void clear()
isInSync
public boolean isInSync()