public class PKCS1Pad
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DECRYPT |
static int |
ENCRYPT |
static int |
SIGN |
static int |
VERIFY |
| Constructor and Description |
|---|
PKCS1Pad() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
pkcs1PadBuf(byte[] input,
java.math.BigInteger modulus,
int how) |
static byte[] |
pkcs1PadBuf(byte[] input,
java.security.PrivateKey key) |
static byte[] |
pkcs1PadBuf(java.security.SecureRandom rnd,
byte[] input,
java.math.BigInteger modulus,
int how) |
static byte[] |
pkcs1PadBuf(java.security.SecureRandom rnd,
byte[] input,
java.security.PublicKey key)
Pad a buffer for encryption with this public key
|
static byte[] |
pkcs1UnpadBuf(byte[] input,
int how,
CryptixRSAPrivateKey key) |
public static final int ENCRYPT
public static final int SIGN
public static final int DECRYPT
public static final int VERIFY
public static byte[] pkcs1PadBuf(java.security.SecureRandom rnd,
byte[] input,
java.security.PublicKey key)
public static byte[] pkcs1PadBuf(byte[] input,
java.security.PrivateKey key)
public static byte[] pkcs1PadBuf(byte[] input,
java.math.BigInteger modulus,
int how)
public static byte[] pkcs1PadBuf(java.security.SecureRandom rnd,
byte[] input,
java.math.BigInteger modulus,
int how)
public static byte[] pkcs1UnpadBuf(byte[] input,
int how,
CryptixRSAPrivateKey key)
Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.