Discuss this help topic in SecureBlackbox Forum

TElCustomCertStorage.LoadFromBufferJKS

TElCustomCertStorage     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Use this method to load multiple certificates stored in JKS (Java Key Storage) format.

Declaration

[C#]
    bool LoadFromBufferJKS(byte[] Buffer, string Pass, TElJKSPasswordEvent OnPasswordNeeded);

[VB.NET]
    Function LoadFromBufferJKS(ByVal Buffer As Byte(), ByVal Pass As String, ByVal OnPasswordNeeded As TElJKSPasswordEvent) As Boolean

[Pascal]
    function LoadFromBufferJKS(Buffer : pointer; Pass : string; Size : longint; OnPasswordNeeded : TElJKSPasswordEvent = nil) : boolean;
    function TElJKSPasswordEvent(const Alias : string; var Password : string) : boolean;

[C++]
    bool LoadFromBufferJKS(void * Buffer, const std::string &Pass, int32_t Size, TElJKSPasswordEvent pMethodOnPasswordNeeded, void * pDataOnPasswordNeeded);

[PHP]
    bool LoadFromBufferJKS(TSBPointer|array of byte|string|NULL $Buffer, string $Pass, integer $Size, TElJKSPasswordEvent|callable|NULL $OnPasswordNeeded)

[Java]
    boolean loadFromBufferJKS(byte[] Buffer, String Pass, TElJKSPasswordEvent arg2);

Parameters

  • Buffer - Buffer with JKS data
  • Size - Size of Buffer in bytes
  • Pass - Password to decrypt certificates
  • OnPasswordNeeded - This event is called if Pass is incorrect
  • Alias - Alias that identifies the certificate
  • Password - Password to the certificate that is identified by Alias should be provided via this parameter
  • pMethodOnPasswordNeeded -
  • pDataOnPasswordNeeded -

Return value

     True if certificates were successfully loaded.
     False otherwise.

Description

    Use this method to load certificates which are stored in JKS format.

See also:     LoadFromStreamJKS     SaveToBufferJKS     SaveToStreamJKS    

Discuss this help topic in SecureBlackbox Forum