Top Constructors Methods
com.sun.webkit.security

public abstract Class WCMessageDigest

extends Object
Class Inheritance
Known Direct Subclasses
com.sun.javafx.webkit.WCMessageDigestImpl, com.sun.webkit.perf.WCMessageDigestPerfLogger
Imports
com.sun.javafx.webkit.WCMessageDigestImpl, com.sun.webkit.perf.WCMessageDigestPerfLogger, java.nio.ByteBuffer

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract void
addBytes(ByteBuffer input)

Update the digest using the specified ByteBuffer.

public abstract byte[]
computeHash()

Returns the computed hash value.

protected static WCMessageDigest
getInstance(String
the name of the algorithm like SHA-1, SHA-256.
algorithm
)

Creates the instance of WCMessageDigest for the given algorithm.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

WCMessageDigestback to summary
public WCMessageDigest()

Method Detail

addBytesback to summary
public abstract void addBytes(ByteBuffer input)

Update the digest using the specified ByteBuffer.

computeHashback to summary
public abstract byte[] computeHash()

Returns the computed hash value.

getInstanceback to summary
protected static WCMessageDigest getInstance(String algorithm)

Creates the instance of WCMessageDigest for the given algorithm.

Parameters
algorithm:String

the name of the algorithm like SHA-1, SHA-256.