4.2 GetSharingMetadata Response

The following XML example is the response from the GetSharingMetadata operation, as described in section 3.1.4.4. The contents of the KeyIdentifier, CypherValue, and CypherData elements has been shortened for readability.

 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Header>
     <h:ServerVersionInfo MajorVersion="14" MinorVersion="1" MajorBuildNumber="225" MinorBuildNumber="45" Version="Exchange2010_SP1" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
   </s:Header>
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
     <GetSharingMetadataResponse ResponseClass="Success" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
       <ResponseCode>NoError</ResponseCode>
       <EncryptedSharedFolderDataCollection>
         <EncryptedSharedFolderData xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
           <Token>
             <EncryptedData Id="Assertion0" Type="http://www.w3.org/2001/04/xmlenc#Element" xmlns="http://www.w3.org/2001/04/xmlenc#">
               <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"></EncryptionMethod>
               <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
                 <EncryptedKey>
                   <EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"></EncryptionMethod>
                   <ds:KeyInfo Id="keyinfo">
                     <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                       <wsse:KeyIdentifier 
                          EncodingType="http://docs.oasis-
                                        open.org/wss/2004/01/oasis-200401-wss-soap-
                                        message-security-1.0#Base64Binary" 
                          ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-
                                     200401-wss-x509-token-profile-                         
                                     1.0#X509SubjectKeyIdentifier">
                           nR+jNSYQR9eSkgOpEog/xQ==</wsse:KeyIdentifier>
                     </wsse:SecurityTokenReference>
                   </ds:KeyInfo>
                   <CipherData>
                     <CipherValue>arNGOQ+nYwa/…==</CipherValue>
                   </CipherData>
                 </EncryptedKey>
               </ds:KeyInfo>
               <CipherData>
                 <CipherValue>KhP6tqH4…=</CipherValue>
               </CipherData>
             </EncryptedData>
           </Token>
           <Data>
             <EncryptedData Type="http://www.w3.org/2001/04/xmlenc#Element"
                            xmlns="http://www.w3.org/2001/04/xmlenc#">
               <EncryptionMethod 
                 Algorithm="http://www.w3.org/2001/04/xmlenc#aes256-cbc"/>
               <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
                 <EncryptedKey xmlns="http://www.w3.org/2001/04/xmlenc#">
                   <EncryptionMethod 
                     Algorithm="http://www.w3.org/2001/04/xmlenc#kw-tripledes"/>
                   <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
                     <KeyName>key</KeyName>
                   </KeyInfo>
                   <CipherData>
                     <CipherValue>
                      SqPZz6UU…
                     </CipherValue>
                   </CipherData>
                 </EncryptedKey>
               </KeyInfo>
               <CipherData>
                 <CipherValue>+QXPTi49k…=</CipherValue>
               </CipherData>
             </EncryptedData>
           </Data>
         </EncryptedSharedFolderData>
       </EncryptedSharedFolderDataCollection>
       <InvalidRecipients/>
     </GetSharingMetadataResponse>
   </s:Body>
 </s:Envelope>
Show: