|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SkippingCipher
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 |
|---|
long skip(long numberOfBytes)
numberOfBytes - the number of bytes to skip (positive forward, negative backwards).
java.lang.IllegalArgumentException - if numberOfBytes is an invalid value.long seekTo(long position)
position - the number of bytes in to set the cipher state to.
long getPosition()
|
Bouncy Castle Cryptography 1.51 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||