gnu.crypto.pad
public final class PKCS7 extends BasePad
The implementation of the PKCS7 padding algorithm.
This algorithm is described for 8-byte blocks in [RFC-1423] and extended to block sizes of up to 256 bytes in [PKCS-7].
References:
Version: $Revision: 1.5 $
| Constructor Summary | |
|---|---|
| PKCS7()
Trivial package-private constructor for use by the Factory class.
| |
| Method Summary | |
|---|---|
| byte[] | pad(byte[] in, int offset, int length) |
| void | setup() |
| int | unpad(byte[] in, int offset, int length) |
See Also: PadFactory