COM.claymoresystems.crypto
Class PKCS1Pad
java.lang.Object
|
+--COM.claymoresystems.crypto.PKCS1Pad
- public class PKCS1Pad
- extends java.lang.Object
Implement PKCS1 padding
Method Summary |
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,
java.math.BigInteger modulus)
|
static byte[] |
pkcs1UnpadBuf(byte[] input,
int how,
xjava.security.interfaces.CryptixRSAPrivateKey key)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENCRYPT
public static final int ENCRYPT
SIGN
public static final int SIGN
DECRYPT
public static final int DECRYPT
VERIFY
public static final int VERIFY
PKCS1Pad
public PKCS1Pad()
pkcs1PadBuf
public static byte[] pkcs1PadBuf(java.security.SecureRandom rnd,
byte[] input,
java.security.PublicKey key)
- Pad a buffer for encryption with this public key
pkcs1PadBuf
public static byte[] pkcs1PadBuf(byte[] input,
java.security.PrivateKey key)
pkcs1PadBuf
public static byte[] pkcs1PadBuf(byte[] input,
java.math.BigInteger modulus,
int how)
pkcs1PadBuf
public static byte[] pkcs1PadBuf(java.security.SecureRandom rnd,
byte[] input,
java.math.BigInteger modulus,
int how)
pkcs1UnpadBuf
public static byte[] pkcs1UnpadBuf(byte[] input,
int how,
xjava.security.interfaces.CryptixRSAPrivateKey key)
pkcs1UnpadBuf
public static byte[] pkcs1UnpadBuf(byte[] input,
int how,
java.math.BigInteger modulus)
Copyright (c) 1999-2001 Claymore Systems, Inc., All Rights Reserved.