|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Ciphers producing a key stream which can be reset to particular points in the stream implement this.
Method Summary | |
long |
getPosition()
Return the current "position" of the cipher |
long |
seekTo(long position)
Reset the cipher and then skip forward to a given position. |
long |
skip(long numberOfBytes)
Skip numberOfBytes forwards, or backwards. |
Method Detail |
public long skip(long numberOfBytes)
numberOfBytes
- the number of bytes to skip (positive forward, negative backwards).
java.lang.IllegalArgumentException
- if numberOfBytes is an invalid value.public long seekTo(long position)
position
- the number of bytes in to set the cipher state to.
public long getPosition()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |