| Modifier and Type | Class and Description |
|---|---|
| private static class | BcDefaultDigestProvider.
-len OIDs for SHAKE include an integer representing the bitlength in of the output. |
| Modifier and Type | Field and Description |
|---|---|
| public static final BcDigestProvider | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static Map | |
| public ExtendedDigest | get(AlgorithmIdentifier digestAlgorithmIdentifier)
Implements org.
|
| INSTANCE | back to summary |
|---|---|
| public static final BcDigestProvider INSTANCE | |
| lookup | back to summary |
|---|---|
| private static final Map<K, V> lookup | |
| BcDefaultDigestProvider | back to summary |
|---|---|
| private BcDefaultDigestProvider() | |
| createTable | back to summary |
|---|---|
| private static Map | |
| get | back to summary |
|---|---|
| public ExtendedDigest get(AlgorithmIdentifier digestAlgorithmIdentifier) throws OperatorCreationException Implements org. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | doFinal(byte[]
the array the digest is to be copied into. out, int the offset into the out array the digest is to start at. outOff)Implements org. close the digest, producing the final digest value. |
| public int | doFinal(byte[]
output array to write the output bytes to. out, int offset to start writing the bytes at. outOff, int the number of output bytes requested. outLen)Implements org. Output the results of the final calculation for this digest to outLen number of bytes. |
| public int | doOutput(byte[]
output array to write the output bytes to. out, int offset to start writing the bytes at. outOff, int the number of output bytes requested. outLen)Implements org. Start outputting the results of the final calculation for this digest. |
| public String | getAlgorithmName()
Implements org. return the algorithm name |
| public int | getByteLength()
Implements org. Return the size in bytes of the internal buffer the digest applies it's compression function to. |
| public int | getDigestSize()
Implements org. return the size, in bytes, of the digest produced by this message digest. |
| public void | reset()
Implements org. reset the digest back to it's initial state. |
| public void | update(byte
the input byte to be entered. in)Implements org. update the message digest with a single byte. |
| public void | update(byte[]
the byte array containing the data. in, int the offset into the byte array where the data starts. inOff, int the length of the data. len)Implements org. update the message digest with a block of bytes. |
| length | back to summary |
|---|---|
| private final int length | |
| xof | back to summary |
|---|---|
| private final Xof xof | |
| AdjustedXof | back to summary |
|---|---|
| pack-priv AdjustedXof(Xof xof, int length) | |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] out, int outOff) Implements org. Doc from org. close the digest, producing the final digest value. The doFinal call leaves the digest reset.
| |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] out, int outOff, int outLen) Implements org. Doc from org. Output the results of the final calculation for this digest to outLen number of bytes.
| |
| doOutput | back to summary |
|---|---|
| public int doOutput(byte[] out, int outOff, int outLen) Implements org. Doc from org. Start outputting the results of the final calculation for this digest. Unlike doFinal, this method will continue producing output until the Xof is explicitly reset, or signals otherwise.
| |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. Doc from org. return the algorithm name
| |
| getByteLength | back to summary |
|---|---|
| public int getByteLength() Implements org. Doc from org. Return the size in bytes of the internal buffer the digest applies it's compression function to.
| |
| getDigestSize | back to summary |
|---|---|
| public int getDigestSize() Implements org. Doc from org. return the size, in bytes, of the digest produced by this message digest.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. reset the digest back to it's initial state. | |
| update | back to summary |
|---|---|
| public void update(byte in) Implements org. Doc from org. update the message digest with a single byte.
| |
| update | back to summary |
|---|---|
| public void update(byte[] in, int inOff, int len) Implements org. Doc from org. update the message digest with a block of bytes.
| |