Modifier and Type | Field and Description |
---|---|
private final String | |
private byte[] | |
private static final int | |
private int | |
private final int | |
private final CK_MECHANISM | |
private static final JavaNioAccess | |
private static final int | |
private static final int | |
private static final int | |
private Session | |
private int | |
private final Token |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public Object | clone()
Overrides java. Returns a clone if the implementation is cloneable. |
protected byte[] | engineDigest()
Implements abstract java. Completes the hash computation by performing final operations such as padding. |
protected int | engineDigest(byte[]
the output buffer in which to store the digest digest, int offset to start from in the output buffer ofs, int number of bytes within len)buf allotted for the digest.
Both this default implementation and the SUN provider do not
return partial digests. The presence of this parameter is solely
for consistency in our API's. If the value of this parameter is less
than the actual digest length, the method will throw a
DigestException .
This parameter is ignored if its value is greater than or equal to
the actual digest length.Overrides java. Completes the hash computation by performing final operations such as padding. |
protected int | engineGetDigestLength()
Overrides java. Returns the digest length in bytes. |
protected void | engineReset()
Implements abstract java. Resets the digest for further use. |
protected void | engineUpdate(byte
the byte to use for the update. in)Implements abstract java. Updates the digest using the specified byte. |
protected void | engineUpdate(byte[]
the array of bytes to use for the update. in, int the offset to start from in the array of bytes. ofs, int the number of bytes to use, starting at
len)offset .Implements abstract java. Updates the digest using the specified array of bytes, starting at the specified offset. |
public void | engineUpdate(SecretKey
the key whose value is to be digested. key)Implements sun. Updates the digest using the specified key. |
protected void | engineUpdate(ByteBuffer
the ByteBuffer byteBuffer)Overrides java. Update the digest using the specified ByteBuffer. |
private void |
algorithm | back to summary |
---|---|
private final String algorithm |
buffer | back to summary |
---|---|
private byte[] buffer |
BUFFER_SIZE | back to summary |
---|---|
private static final int BUFFER_SIZE |
bufOfs | back to summary |
---|---|
private int bufOfs |
digestLength | back to summary |
---|---|
private final int digestLength |
mechanism | back to summary |
---|---|
private final CK_MECHANISM mechanism |
NIO_ACCESS | back to summary |
---|---|
private static final JavaNioAccess NIO_ACCESS |
S_BLANK | back to summary |
---|---|
private static final int S_BLANK |
S_BUFFERED | back to summary |
---|---|
private static final int S_BUFFERED |
S_INIT | back to summary |
---|---|
private static final int S_INIT |
session | back to summary |
---|---|
private Session session |
state | back to summary |
---|---|
private int state |
token | back to summary |
---|---|
private final Token token |
P11Digest | back to summary |
---|---|
pack-priv P11Digest(Token token, String algorithm, long mechanism) |
clone | back to summary |
---|---|
public Object clone() throws CloneNotSupportedException Overrides java. Doc from java. Returns a clone if the implementation is cloneable.
|
engineDigest | back to summary |
---|---|
protected byte[] engineDigest() Implements abstract java. Doc from java. Completes the hash computation by performing final
operations such as padding. Once
|
engineDigest | back to summary |
---|---|
protected int engineDigest(byte[] digest, int ofs, int len) throws DigestException Overrides java. Doc from java. Completes the hash computation by performing final
operations such as padding. Once
|
engineGetDigestLength | back to summary |
---|---|
protected int engineGetDigestLength() Overrides java. Doc from java. Returns the digest length in bytes. This concrete method has been added to this previously-defined abstract class. (For backwards compatibility, it cannot be abstract.) The default behavior is to return 0. This method may be overridden by a provider to return the digest length.
|
engineReset | back to summary |
---|---|
protected void engineReset() Implements abstract java. Doc from java. Resets the digest for further use. |
engineUpdate | back to summary |
---|---|
protected void engineUpdate(byte in) Implements abstract java. Doc from java. Updates the digest using the specified byte.
|
engineUpdate | back to summary |
---|---|
protected void engineUpdate(byte[] in, int ofs, int len) Implements abstract java. Doc from java. Updates the digest using the specified array of bytes, starting at the specified offset.
|
engineUpdate | back to summary |
---|---|
public void engineUpdate(SecretKey key) throws InvalidKeyException Implements sun. Doc from sun. Updates the digest using the specified key. This is used for SSL 3.0 only, we may deprecate and remove the support of this in the future
|
engineUpdate | back to summary |
---|---|
protected void engineUpdate(ByteBuffer byteBuffer) Overrides java. Doc from java. Update the digest using the specified ByteBuffer. The digest is
updated using the
|
fetchSession | back to summary |
---|---|
private void fetchSession() |