scp home

Home    CertX ActiveX Online Help Prev Next
Introduction
License
Certificate Request functions
csr_new
csr_export_to_file
csr_export
csr_sign
x.509 functions
x509_check_private_key
x509_checkpurpose
x509_export
x509_export_to_file
x509_free
x509_read
x509_parse
PKCS7 functions
pkcs7_decrypt
pkcs7_encrypt
pkcs7_sign
pkcs7_verify
RSA
pkey_new
pkey_export
pkey_export_to_file
pkey_get_public
pkey_get_private
public_encrypt
private_decrypt
open (decrypt)
seal (encrypt)
sign
verify
PKCS7 Constants

private_decrypt

Decrypts data with private key

Syntax

Function private_decrypt (data As String, decrypted, key, [padding]) As Boolean

private_decrypt() decrypts data that was previous encrypted via public_encrypt() and stores the result into decrypted. key must be the private key corresponding that was used to encrypt the data. padding defaults to PKCS1_PADDING, but can also be one of SSLV23_PADDING, PKCS1_OAEP_PADDING, NO_PADDING.


(c) Activecrypt Software LLC, 2004

 

Browser Based Help. Published by chm2web software.