AS2Secure
[ class tree: AS2Secure ] [ index: AS2Secure ] [ all elements ]

Class: AS2Partner

Source Location: /AS2Partner.php

Class Overview


AS2Secure - PHP Lib for AS2 message encoding / decoding


Author(s):

Version:

  • 0.9.0

Copyright:

  • Copyright (c) 2010, Sebastien MALOT

    Last release at : http://www.as2secure.com

    This file is part of AS2Secure Project.

    AS2Secure is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    AS2Secure is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along with AS2Secure.

Variables

Constants

Methods



Class Details

[line 32]
AS2Secure - PHP Lib for AS2 message encoding / decoding



Tags:

author:  Sebastien MALOT <contact@as2secure.com>
version:  0.9.0
copyright:  

Copyright (c) 2010, Sebastien MALOT

Last release at : http://www.as2secure.com

This file is part of AS2Secure Project.

AS2Secure is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

AS2Secure is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with AS2Secure.

license:  GNU General Public License


[ Top ]


Class Variables

static $stack = array()

[line 72]



Tags:

access:  protected

Type:   mixed


[ Top ]

$comment =  ''

[line 38]



Tags:

access:  protected

Type:   mixed


[ Top ]

$connector_class =  'AS2Connector'

[line 69]



Tags:

access:  protected

Type:   mixed


[ Top ]

$email =  ''

[line 37]



Tags:

access:  protected

Type:   mixed


[ Top ]

$id =  ''

[line 36]



Tags:

access:  protected

Type:   mixed


[ Top ]

$is_local =  false

[line 34]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mdn_credencial_login =  ''

[line 65]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mdn_credencial_method =  self::METHOD_NONE

[line 64]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mdn_credencial_password =  ''

[line 66]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mdn_request =  self::ACK_SYNC

[line 62]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mdn_signed =  true

[line 63]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mdn_subject =  'AS2 MDN Subject'

[line 61]



Tags:

access:  protected

Type:   mixed


[ Top ]

$mdn_url =  ''

[line 60]



Tags:

access:  protected

Type:   mixed


[ Top ]

$name =  ''

[line 35]



Tags:

access:  protected

Type:   mixed


[ Top ]

$sec_certificate =  ''

[line 44]



Tags:

access:  protected

Type:   mixed


[ Top ]

$sec_encrypt_algorithm =  self::CRYPT_3DES

[line 47]



Tags:

access:  protected

Type:   mixed


[ Top ]

$sec_pkcs12 =  ''

[line 41]



Tags:

access:  protected

Type:   mixed


[ Top ]

$sec_pkcs12_password =  ''

[line 42]



Tags:

access:  protected

Type:   mixed


[ Top ]

$sec_signature_algorithm =  self::SIGN_SHA1

[line 46]



Tags:

access:  protected

Type:   mixed


[ Top ]

$send_compress =  false

[line 50]



Tags:

access:  protected

Type:   mixed


[ Top ]

$send_content_type =  'application/EDI-Consent'

[line 53]



Tags:

access:  protected

Type:   mixed


[ Top ]

$send_credencial_login =  ''

[line 55]



Tags:

access:  protected

Type:   mixed


[ Top ]

$send_credencial_method =  self::METHOD_NONE

[line 54]



Tags:

access:  protected

Type:   mixed


[ Top ]

$send_credencial_password =  ''

[line 56]



Tags:

access:  protected

Type:   mixed


[ Top ]

$send_encoding =  self::ENCODING_BASE64

[line 57]



Tags:

access:  protected

Type:   mixed


[ Top ]

$send_subject =  'AS2 Message Subject'

[line 52]



Tags:

access:  protected

Type:   mixed


[ Top ]

$send_url =  ''

[line 51]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


static method getAvailablesEncryptions [line 123]

static array getAvailablesEncryptions( )

Return the list of available cypher



Tags:

access:  public


[ Top ]

static method getAvailablesSignatures [line 111]

static array getAvailablesSignatures( )

Return the list of available signatures



Tags:

access:  public


[ Top ]

static method getPartner [line 145]

static object : getPartner( partner_id $partner_id, [reload $reload = false])

Return an AS2Partner object for a specified Partner ID



Tags:

return:  The partner requested
access:  public


Parameters:

partner_id   $partner_id   String : Partner ID (case sensitive) corresponds to AS2-To / AS2-From headers
reload   $reload   Boolean : Allow to reload config from file

[ Top ]

constructor __construct [line 184]

AS2Partner __construct( data $data)

Restricted constructor



Tags:

access:  protected


Parameters:

data   $data   The data to set from

[ Top ]

method __get [line 202]

Return __get( key $key)

Magic getter



Tags:

return:  a property of this class
access:  public


Parameters:

key   $key   Property name

[ Top ]

method __set [line 216]

void __set( key $key, value $value)

Magic setter



Tags:

access:  public


Parameters:

key   $key   Property name
value   $value   New value to set

[ Top ]

method __toString [line 226]

void __toString( )

Magic method



Tags:

access:  public


[ Top ]


Class Constants

ACK_ASYNC =  'ASYNC'

[line 88]


[ Top ]

ACK_SYNC =  'SYNC'

[line 87]


[ Top ]

CRYPT_3DES =  'des3'

[line 101]


[ Top ]

CRYPT_AES_128 =  'aes128'

[line 102]


[ Top ]

CRYPT_AES_192 =  'aes192'

[line 103]


[ Top ]

CRYPT_AES_256 =  'aes256'

[line 104]


[ Top ]

CRYPT_DES =  'des'

[line 100]


[ Top ]

CRYPT_NONE =  'none'

[line 96]


[ Top ]

CRYPT_RC2_40 =  'rc2-40'

[line 97]


[ Top ]

CRYPT_RC2_64 =  'rc2-64'

[line 98]


[ Top ]

CRYPT_RC2_128 =  'rc2-128'

[line 99]


[ Top ]

ENCODING_BASE64 =  'base64'

[line 83]


[ Top ]

ENCODING_BINARY =  'binary'

[line 84]


[ Top ]

METHOD_AUTO =  CURLAUTH_ANY

[line 76]


[ Top ]

METHOD_BASIC =  CURLAUTH_BASIC

[line 77]


[ Top ]

METHOD_DIGECT =  CURLAUTH_DIGEST

[line 78]


[ Top ]

METHOD_GSS =  CURLAUTH_GSSNEGOTIATE

[line 80]


[ Top ]

METHOD_NONE =  'NONE'

[line 75]


[ Top ]

METHOD_NTLM =  CURLAUTH_NTLM

[line 79]


[ Top ]

SIGN_MD5 =  'md5'

[line 93]


[ Top ]

SIGN_NONE =  'none'

[line 91]


[ Top ]

SIGN_SHA1 =  'sha1'

[line 92]


[ Top ]



Documentation generated on Wed, 03 Nov 2010 22:51:31 +0100 by phpDocumentor 1.4.3