Specifies the full file path of file containing the public key blob to import.
Syntax:
<lretval> = object.ImportPublicKey(<sFilePath>)
Parameters:
Returns
Return 1 if successful; 0 if operation failed.
Example:
Set oGroup = oInterchange.FirstGroup
Set oSecurity = oGroup.GetSecurity
oSecurity.EnableCompression = True
oSecurity.ImportPublicKey sPKeyFile
Set oTransactionSet = oGroup.FirstTransactionSet
Set oSecurity = oTransactionSet.GetSecurity
oSecurity.EnableCompression = True
oSecurity.ImportPublicKey sPKeyFile
oEdiDoc.Save sSecuredEdiFile