Skip to main content

Key

Key​

This class is used to protect the integrity of signature data

Full qualification: com.florentis.signature.Key

Summary​

Method
set
close
Property
type

Methods​

set​

This method sets the type of the Key object

public native void set( int )
Parameters
typeThe key type can be one of the following:

  • Key.none
  • Key.md5
  • Key.sha1
  • Key.sha224
  • Key.sha256
  • Key.sha384
  • Key.sha512
Return Value
None

close​

This method "Closes" the object, releasing the underlying COM object (and thus freeing resources).

public native void close()
Parameters
None
Return Value
None

Properties​

PropertyProperty TypeDescription
typeintRead-only value returns the type of Key set

  • Key.none
  • Key.md5
  • Key.sha1
  • Key.sha224
  • Key.sha256
  • Key.sha384
  • Key.sha512