COM.claymoresystems.crypto
Class PKCS1Pad
public
class
PKCS1Pad
extends Object
Implement PKCS1 padding
Method Summary |
static byte[] | pkcs1PadBuf(SecureRandom rnd, byte[] input, PublicKey key) Pad a buffer for encryption with this public key |
static byte[] | pkcs1PadBuf(byte[] input, PrivateKey key) |
static byte[] | pkcs1PadBuf(byte[] input, BigInteger modulus, int how) |
static byte[] | pkcs1PadBuf(SecureRandom rnd, byte[] input, BigInteger modulus, int how) |
static byte[] | pkcs1UnpadBuf(byte[] input, int how, CryptixRSAPrivateKey key) |
static byte[] | pkcs1UnpadBuf(byte[] input, int how, BigInteger modulus) |
public static final int DECRYPT
public static final int ENCRYPT
public static final int SIGN
public static final int VERIFY
public static byte[] pkcs1PadBuf(SecureRandom rnd, byte[] input, PublicKey key)
Pad a buffer for encryption with this public key
public static byte[] pkcs1PadBuf(byte[] input, PrivateKey key)
public static byte[] pkcs1PadBuf(byte[] input, BigInteger modulus, int how)
public static byte[] pkcs1PadBuf(SecureRandom rnd, byte[] input, BigInteger modulus, int how)
public static byte[] pkcs1UnpadBuf(byte[] input, int how, CryptixRSAPrivateKey key)
public static byte[] pkcs1UnpadBuf(byte[] input, int how, BigInteger modulus)
Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.