Package org.bouncycastle.bcpg
Class CRC24
- java.lang.Object
-
- org.bouncycastle.bcpg.CRC24
-
- Direct Known Subclasses:
FastCRC24
public class CRC24 extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
crc
protected static int
CRC24_INIT
protected static int
CRC24_POLY
-
Constructor Summary
Constructors Constructor Description CRC24()
Default, iterative CRC-24 implementation as described in RFC4880.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
void
reset()
void
update(int b)
void
update3(byte[] buf, int off)
-
-
-
Field Detail
-
CRC24_INIT
protected static final int CRC24_INIT
- See Also:
- Constant Field Values
-
CRC24_POLY
protected static final int CRC24_POLY
- See Also:
- Constant Field Values
-
crc
protected int crc
-
-