forked from tiamo/phpas2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPartnerInterface.php
101 lines (81 loc) · 1.74 KB
/
PartnerInterface.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?php
namespace AS2;
interface PartnerInterface
{
const MDN_MODE_SYNC = 'sync';
const MDN_MODE_ASYNC = 'async';
/**
* Partner Unique Identifier.
*
* @return string
*/
public function getAs2Id();
/**
* @return string
*/
public function getEmail();
/**
* @return string
*/
public function getTargetUrl();
/**
* @return string
*/
public function getContentType();
/**
* @return string
*/
public function getContentTransferEncoding();
/**
* @return string
*/
public function getSubject();
/**
* @return string|null
*/
public function getAuthMethod();
/**
* @return string
*/
public function getAuthUser();
/**
* @return string
*/
public function getAuthPassword();
/**
* @return string|null
*/
public function getSignatureAlgorithm();
/**
* @return string|null
*/
public function getEncryptionAlgorithm();
/**
* @return string
*/
public function getCertificate();
/**
* @return string
*/
public function getPrivateKey();
/**
* @return string
*/
public function getPrivateKeyPassPhrase();
/**
* @return string [null, zlib, deflate]
*/
public function getCompressionType();
/**
* @return string [null, sync, async]
*/
public function getMdnMode();
/**
* @return string (Example: signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, SHA256)
*/
public function getMdnOptions();
/**
* @return string (Example: Your requested MDN response from $receiver.as2_id$)
*/
public function getMdnSubject();
}