|
Oracle Security Developer Tools Crypto Java API Reference 11g (11.1.1) E10668-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.core.Padding
public abstract class Padding
Padding contains the ID constants that indicate padding schemes.
Nested Class Summary | |
---|---|
static class |
Padding.ID Represents a padding mode value that can be used by block ciphers. |
Field Summary | |
---|---|
static Padding.ID |
NONE Indicates that NO padding should be used for block ciphers. |
static Padding.ID |
PKCS5 Indicates that PKCS5 padding should be used for block ciphers. |
Constructor Summary | |
---|---|
protected |
Padding() Empty constructor. |
Method Summary | |
---|---|
abstract java.lang.String |
algName() The name of the padding algorithm. |
abstract byte[] |
pad(byte[] bytes, int blockSize) Returns bytes padded to a multiple of blockSize. |
abstract byte[] |
unpad(byte[] bytes) Returns bytes unpadded. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Padding.ID NONE
public static final Padding.ID PKCS5
Constructor Detail |
---|
protected Padding()
Method Detail |
---|
public abstract java.lang.String algName()
public abstract byte[] pad(byte[] bytes, int blockSize) throws CipherException
CipherException
public abstract byte[] unpad(byte[] bytes) throws CipherException
CipherException
|
Oracle Security Developer Tools Crypto Java API Reference 11g (11.1.1) E10668-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |