CrypterObject object

The CrypterObject object encrypts and decrypts the data using the popular algorithms.

Note

This object cannot be referenced in .NET Web Service or .NET Assembly components, otherwise the component will fail to be deployed.

Properties

CrypterObject property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.


Events

CrypterObject event

Occurs

Constructor

Immediately before the Open event occurs in the window.

Destructor

Immediately after the Close event occurs in the window.


Functions

CrypterObject function

Datatype returned

Description

AsymmetricDecrypt

Blob

Decrypts a blob value using asymmetric algorithm.

AsymmetricEncrypt

Blob

Encrypts a blob value using asymmetric algorithm.

AsymmetricGenerateKey

Integer

Generates a secret key for asymmetric algorithm.

AsymmetricSign

Blob

Calculates the signature of the data using asymmetric algorithm.

AsymmetricVerifySign

Integer

Verifies the signature of the data using asymmetric algorithm.

ClassName

String

Returns the name assigned to the object.

GetContextService

Integer

Creates a reference to a context-specific instance of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent object.

HMAC

Blob

Calculates the HMAC value of the blob data.

MD5

Blob

Calculates the MD5 value of the blob data.

PostEvent

Boolean

Adds an event to the end of the message queue for the object.

SHA

Blob

Calculates the SHA value of the blob data.

SymmetricDecrypt

Blob

Decrypts a blob value using symmetric algorithm.

SymmetricEncrypt

Blob

Encrypts a blob value using symmetric algorithm.

SymmetricGenerateKey

Integer

Generates a secret key for symmetric algorithm.

TriggerEvent

Integer

Triggers a specified event in the object and executes the script for the event.

TypeOf

Object

Returns the object type of the object.