java.lang.Object | |
↳ | com.pdftron.crypto.AlgorithmIdentifier |
This class represents an algorithm identifier, as defined by ITU and used in X.509.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AlgorithmIdentifier(long impl_ptr) | |||||||||||
AlgorithmIdentifier(ObjectIdentifier.Predefined oid)
Constructs an AlgorithmIdentifier from a Predefined enum.
| |||||||||||
AlgorithmIdentifier(ObjectIdentifier oid)
Constructs an AlgorithmIdentifier from an ObjectIdentifier.
| |||||||||||
AlgorithmIdentifier(DigestAlgorithm digest_algorithm_type)
Constructs an AlgorithmIdentifier from a DigestAlgorithm enum.
| |||||||||||
AlgorithmIdentifier(ObjectIdentifier.Predefined oid, AlgorithmParams params)
Constructs an AlgorithmIdentifier from a Predefined enum and an AlgorithmParams object.
| |||||||||||
AlgorithmIdentifier(ObjectIdentifier oid, AlgorithmParams params)
Constructs an AlgorithmIdentifier from an ObjectIdentifier and an AlgorithmParams object.
| |||||||||||
AlgorithmIdentifier(DigestAlgorithm digest_algorithm_type, AlgorithmParams params)
Constructs an AlgorithmIdentifier from a DigestAlgorithm enum and an AlgorithmParams object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long | __GetHandle() | ||||||||||
void |
close()
Frees the native memory of the object.
| ||||||||||
void |
destroy()
Frees the native memory of the object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.AutoCloseable
|
Constructs an AlgorithmIdentifier from a Predefined enum.
oid | The Predefined enumerated value to use. |
---|
PDFNetException |
---|
Constructs an AlgorithmIdentifier from an ObjectIdentifier.
oid | The ObjectIdentifier object to use. |
---|
PDFNetException |
---|
Constructs an AlgorithmIdentifier from a DigestAlgorithm enum.
digest_algorithm_type | The enumeration value corresponding to your desired digest algorithm. |
---|
PDFNetException |
---|
Constructs an AlgorithmIdentifier from a Predefined enum and an AlgorithmParams object.
oid | The Predefined enumerated value to use. |
---|---|
params | The AlgorithmParams object to use. |
PDFNetException |
---|
Constructs an AlgorithmIdentifier from an ObjectIdentifier and an AlgorithmParams object.
oid | The ObjectIdentifier object to use. |
---|---|
params | The AlgorithmParams object to use. |
PDFNetException |
---|
Constructs an AlgorithmIdentifier from a DigestAlgorithm enum and an AlgorithmParams object.
digest_algorithm_type | The enumeration value corresponding to your desired digest algorithm. |
---|---|
params | The AlgorithmParams object to use. |
PDFNetException |
---|
Frees the native memory of the object. This can be explicitly called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|
Frees the native memory of the object. This can be explicitly called to control the deallocation of native memory and avoid situations where the garbage collector does not free the object in a timely manner.
PDFNetException |
---|