EldoS
Navigation
Web site
Support
Table Of Contents
View Table Of Contents | Send comments on this topic

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


ElCustomCertStorage.SaveToBufferPKCS7

CustomCertStorage     See also    


 

Use this method in derived classes to save certificates contained in storage to buffer in PKCS7 format.

 
 

Declaration

[C#]
    int SaveToBufferPKCS7(ref byte[] Buffer, ref int Size);

[VB.NET]
    Function SaveToBufferPKCS7(ByRef Buffer As Byte()) As Integer

[Pascal]
    function SaveToBufferPKCS7(Buffer : pointer; var Size : integer) : integer;

    not implemented;

[DLL]
    not applicable;
 
 

Parameters

  • Buffer - Buffer with PKCS7 data
  • Size - Size of Buffer in bytes
 
 

Return value

    0 if certificates were successfully saved.
    PKCS7 error code otherwise.

 
 

PKCS7 Error codes

[.NET] [Pascal] [ActiveX] [DLL] Value Description
SB_PKCS7_ERROR_INVALID_ASN_DATA 7681 (0x1E01) Buffer doesn't contain a valid PKCS#7 sequence
SB_PKCS7_ERROR_NO_DATA 7682 (0x1E02) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_CONTENT_INFO 7683 (0x1E03) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_UNKNOWN_DATA_TYPE 7684 (0x1E04) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_DATA 7685 (0x1E05) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_ENVELOPED_DATA 7686 (0x1E06) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_ENVELOPED_DATA_VERSION 7687 (0x1E07) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_ENVELOPED_DATA_CONTENT 7688 (0x1E08) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_RECIPIENT_INFOS 7689 (0x1E09) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_RECIPIENT_INFO 7690 (0x1E0A) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_RECIPIENT_INFO_VERSION 7691 (0x1E0B) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_RECIPIENT_INFO_KEY 7692 (0x1E0C) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_ISSUER 7693 (0x1E0D) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_ALGORITHM 7694 (0x1E0E) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_SIGNED_DATA 7695 (0x1E0F) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_SIGNED_DATA_VERSION 7696 (0x1E10) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_SIGNER_INFOS 7697 (0x1E11) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_SIGNER_INFO_VERSION 7698 (0x1E12) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_SIGNER_INFO 7699 (0x1E13) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INTERNAL_ERROR 7700 (0x1E14) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_ATTRIBUTES 7701 (0x1E15) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_DIGESTED_DATA 7702 (0x1E16) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_DIGESTED_DATA_VERSION 7703 (0x1E17) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_ENCRYPTED_DATA 7704 (0x1E18) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_ENCRYPTED_DATA_VERSION 7705 (0x1E19) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_SIGNED_AND_ENVELOPED_DATA 7706 (0x1E1A) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_SIGNED_AND_ENVELOPED_DATA_VERSION 7707 (0x1E1B) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_AUTHENTICATED_DATA 7708 (0x1E1C) Wrong or unhandled information inside of PKCS#7 package
SB_PKCS7_ERROR_INVALID_AUTHENTICATED_DATA_VERSION 7709 (0x1E1D) Wrong or unhandled information inside of PKCS#7 package
Declared in
[.NET] [Pascal]
Namespace: SBPKCS7
Assembly: SecureBlackbox
Unit: SBPKCS7

 
 

Description

    Use this method in derived classes to save currently stored certificates in PKCS7 format.

 
 

See also:     LoadFromBufferPKCS7 LoadFromStreamPKCS7 SaveToStreamPKCS7

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2008, EldoS Corporation