gnu.crypto.pad
Class PKCS1_V1_5
- IPad
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:
- Public-Key Cryptography
Standards (PKCS) #1:
RSA Cryptography Specifications Version 2.1.
Jakob Jonsson and Burt Kaliski.
Version:
EME_PKCS1_V1_5
PKCS1_V1_5() - Trivial package-private constructor for use by the Factory class.
|
byte[] | pad(byte[] in, int offset, int length)
|
boolean | selfTest()
|
void | setup()
|
int | unpad(byte[] in, int offset, int length)
|
PKCS1_V1_5
(package private) PKCS1_V1_5()
Trivial package-private constructor for use by the Factory class.
PadFactory
pad
public byte[] pad(byte[] in,
int offset,
int length)
- pad in interface IPad
- pad in interface BasePad
setup
public void setup()
- setup in interface BasePad
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.