nsICMSMessage

IID:a4557478-ae16-11d5-ba4b-00108303b117
Inherits From:nsISupports

Interface to a CMS Message


Methods

void contentIsEncrypted ( out PRBool encrypted ) void contentIsSigned ( out PRBool signed ) void CreateEncrypted ( nsIArray recipientCerts ) void CreateSigned ( nsIX509Cert scert , nsIX509Cert ecert , UnsignedCharPtr* digestData , PRUint32 digestDataLen ) void getEncryptionCert ( out nsIX509Cert ecert ) void getSignerCert ( out nsIX509Cert scert ) void getSignerCommonName ( out char* name ) void getSignerEmailAddress ( out char* email ) void verifyDetachedSignature ( UnsignedCharPtr* digestData , PRUint32 digestDataLen ) void verifySignature ( )

void contentIsEncrypted ( out PRBool encrypted )

Arguments:
encrypted

void contentIsSigned ( out PRBool signed )

Arguments:
signed

void CreateEncrypted ( nsIArray recipientCerts )

Arguments:
recipientCerts

void CreateSigned ( nsIX509Cert scert , nsIX509Cert ecert , UnsignedCharPtr* digestData , PRUint32 digestDataLen )

Arguments:
scert
ecert
digestData
digestDataLen

void getEncryptionCert ( out nsIX509Cert ecert )

Arguments:
ecert

void getSignerCert ( out nsIX509Cert scert )

Arguments:
scert

void getSignerCommonName ( out char* name )

Arguments:
name

void getSignerEmailAddress ( out char* email )

Arguments:
email

void verifyDetachedSignature ( UnsignedCharPtr* digestData , PRUint32 digestDataLen )

Arguments:
digestData
digestDataLen

void verifySignature ( )


References

This interface is passed as an argument to the following methods:

nsICMSDecoder.finish, nsICMSEncoder.encode, nsICMSEncoder.start

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com