public class EMSA_ISO9796d2
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
blockLength |
protected byte[] |
mBuf |
protected IMessageDigest |
md |
protected int |
messageLength |
protected int |
modBits |
static int |
TRAILER_IMPLICIT |
static int |
TRAILER_RIPEMD128 |
static int |
TRAILER_RIPEMD160 |
static int |
TRAILER_SHA1 |
Modifier | Constructor and Description |
---|---|
protected |
EMSA_ISO9796d2(IMessageDigest hash,
boolean implicit) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
boolean |
decode(byte[] block) |
byte[] |
encode() |
static EMSA_ISO9796d2 |
getInstance(java.lang.String mdName) |
static EMSA_ISO9796d2 |
getInstance(java.lang.String mdName,
boolean implicit) |
byte[] |
getRecoveredMessage() |
boolean |
hasFullMessage() |
void |
init(int modBits) |
void |
update(byte b) |
void |
update(byte[] b,
int off,
int len) |
public static final int TRAILER_IMPLICIT
public static final int TRAILER_RIPEMD160
public static final int TRAILER_RIPEMD128
public static final int TRAILER_SHA1
protected IMessageDigest md
protected byte[] mBuf
protected int messageLength
protected int blockLength
protected int modBits
protected EMSA_ISO9796d2(IMessageDigest hash, boolean implicit)
public static final EMSA_ISO9796d2 getInstance(java.lang.String mdName)
public static final EMSA_ISO9796d2 getInstance(java.lang.String mdName, boolean implicit)
public void update(byte[] b, int off, int len)
public void update(byte b)
public void init(int modBits)
public byte[] encode()
public boolean decode(byte[] block)
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean hasFullMessage()
public byte[] getRecoveredMessage()
Copyright © 2025. All rights reserved.