CEMDetail Type
This type defines details about the CEM request.
Remarks
This type defines details about the CEM request. Not all fields are applicable for all operations.
Fields
accepted Bool |
Whether the CEM request is accepted. Before calling SendCEMResponse set this to True to accept the CEM request. When processing a CEM response check this property to determine if the request was accepted. | ||||||||||||||||||||||||||||||||||||||||||||||||
certId String |
A user defined identifier for the certificate. This property defines a user specified identifier for the certificate. This may be set to a value which helps the recipient identify the certificate. For instance "CompanyA.Encryption.Cert.2014". This property may be set before calling SendCEMRequest or SendCEMResponse from AS2Sender. This property may be queried when received a CEM request or response with AS2Receiver. | ||||||||||||||||||||||||||||||||||||||||||||||||
certIssuer String |
This property holds the issuer of the certificate. This may be queried when receiving a CEM request with AS2Receiver. This may be set before calling SendCEMResponse with AS2Sender. | ||||||||||||||||||||||||||||||||||||||||||||||||
certSerialNumber String |
This property holds the serial number of the certificate. This may be queried when receiving a CEM request with AS2Receiver. This may be set before calling SendCEMResponse with AS2Sender. | ||||||||||||||||||||||||||||||||||||||||||||||||
certStoreB Data |
The name of the certificate store for the certificate. This property defines the store location for the type specified by CertStoreType. Designations of certificate stores are platform-dependent. The following are designations of the most common User and Machine certificate stores in Windows:
When the certificate store type is PFXFile, this property must be set to the name of the file. When the type is PFXBlob, the property must be set to the binary contents of a PFX file (i.e. PKCS12 certificate store).
| ||||||||||||||||||||||||||||||||||||||||||||||||
certStore String |
The name of the certificate store for the certificate. This property defines the store location for the type specified by CertStoreType. Designations of certificate stores are platform-dependent. The following are designations of the most common User and Machine certificate stores in Windows:
When the certificate store type is PFXFile, this property must be set to the name of the file. When the type is PFXBlob, the property must be set to the binary contents of a PFX file (i.e. PKCS12 certificate store).
| ||||||||||||||||||||||||||||||||||||||||||||||||
certStorePassword String |
If the certificate store is of a type that requires a password, this property is used to specify that password in order to open the certificate store. | ||||||||||||||||||||||||||||||||||||||||||||||||
certStoreType CertStoreTypes |
The type of certificate store for this certificate. The class supports both public and private keys in a variety of formats. When the cstAuto value is used the class will automatically determine the type. This property can take one of the following values:
| ||||||||||||||||||||||||||||||||||||||||||||||||
certSubject String |
The subject of the certificate. This property must be set after all other certificate properites are set. When this property is set, a search is performed in the current certificate store certificate with matching subject. If a matching certificate is found, the property is set to the full subject of the matching certificate. If an exact match is not found, the store is searched for subjects containing the value of the property. If a match is still not found, the property is set to an empty string, and no certificate is selected. The special value "*" picks a random certificate in the certificate store. The certificate subject is a comma separated list of distinguished name fields and values. For instance "CN=www.server.com, OU=test, C=US, E=support@nsoftware.com". Common fields and their meanings are displayed below.
If a field value contains a comma it must be quoted. | ||||||||||||||||||||||||||||||||||||||||||||||||
certUsage Int32 |
This property defines which usages are applicable to the certificate. This may be set to a binary 'OR' of one or more of the following values:
| ||||||||||||||||||||||||||||||||||||||||||||||||
rejectionReason String |
If Accepted is False this property specifies the reason a request was rejected. When using AS2Sender this may be set to a string value which the recipient will see. When using AS2Receiver query this property for details on why the request was rejected. | ||||||||||||||||||||||||||||||||||||||||||||||||
respondByDate String |
This property specifies the date by which the other party should respond. If the other party does not respond the new certificate may be used without any further notice. This property exists to assist the recipient in knowing when they should respond by. It does not guarantee a response by the specified date. The format is of the XML standard dateTime type expressed in local time with UTC offset. For instance: "2005-08-31T00:21:00-05:00". When using AS2Sender set this before calling SendCEMRequest. When using AS2Receiver this property may be queried. | ||||||||||||||||||||||||||||||||||||||||||||||||
responseURL String |
This property defines the URL to which the response should be sent. When using AS2Sender set this property before calling SendCEMRequest. This tells the recipient where to send the response. When using AS2Receiver query this property to determine the URL where the response should be sent. |
Constructors
public init()