HTTP and SOAP Provider::PassportEncrypt


Wrapper for the Passport.Crypt object. Used by Microsoft® Provisioning Framework (MPF) to encrypt information in a provisioning request before passing it to a Microsoft® .NET Passport site.

XML Input Schema

The following code fragment shows the format for sending data to this procedure. For more information on individual elements and attributes, see the Elements and Attributes table.

<executeData>1..1
  <requestInfo>1..1
	<siteId>0..1</siteId>
	<keyVersion>0..1</keyVersion>
	<text>1..1</text>
  </requestInfo>
  <result>0..1</result>
</executeData>

XML Output Schema

The following code fragment shows the format for data this procedure returns. For more information on individual elements and attributes, see the Elements and Attributes table.

<executeData>1..1
  <result>1..1
	<encryption>
	<siteId>1..1</siteId>
	<keyVersion>1..1</keyVersion>
	<text>1..1</text>
	</encryption>
  </result>
</executeData>

Elements and Attributes

The following table describes the XML schema elements and attributes. Unless otherwise indicated, the data type is string.

Element Description, relationships, and attributes
executeData Description:
Encapsulates the procedure's input and output data.

Children:
requestInfo
result

encryption Description:
Encapsulates the response from the remote server, which contains the siteId and keyVersion as well as the encrypted data.

Parent:
result

Children:
keyVersion (minOccurs="1" maxOccurs="1")
siteId
(minOccurs="1" maxOccurs="1")
text
(minOccurs="1" maxOccurs="1")

keyVersion Description:
Public key for encryption. Required whenever siteId is used. 

Parent:
requestInfo, encryption

Maximum Length:
16

requestInfo Description:
Encapsulates the information the provider uses to encrypt the request.

Parent:
executeData

Children:
keyVersion (minOccurs="0" maxOccurs="1")
siteId (minOccurs="0" maxOccurs="1")
text (minOccurs="0" maxOccurs="1")

result Description:
Encapsulates the response from the remote server.

Parent:
executeData

Children:
encryption (minOccurs="1" maxOccurs="1")

siteId Description:
.NET Passport site ID created by installation of the partner key.

Parent:
requestInfo, encryption

Maximum Length:
16

text Description: 
Data to be encrypted.

Parent:
requestInfo, encryption

Maximum Length:
4,096

See Also

HTTP and SOAP Provider


Up Top of Page
© 1999-2002 Microsoft Corporation. All rights reserved.