gnu.crypto.pad
public class PKCS1_V1_5 extends BasePad
A padding algorithm implementation of the EME-PKCS1-V1.5 encoding/decoding algorithm as described in section 7.2 of RFC-3447. This is effectively an Adapter over an instance of EME_PKCS1_V1_5 initialised with the RSA public shared modulus length (in bytes).
References:
Version: $Revision: 1.2 $
See Also: EME_PKCS1_V1_5
| Constructor Summary | |
|---|---|
| PKCS1_V1_5() Trivial package-private constructor for use by the Factory class. | |
| Method Summary | |
|---|---|
| byte[] | pad(byte[] in, int offset, int length) |
| boolean | selfTest() |
| void | setup() |
| int | unpad(byte[] in, int offset, int length) |
Trivial package-private constructor for use by the Factory class.
See Also: PadFactory