POST api/Export/KeySeeds
Exports requested key seeds.
Request Information
URI Parameters
None.
Body Parameters
Data to use for the export.
KeySeedsToExportName | Description | Type | Additional information |
---|---|---|---|
Ids |
The collection of IDs of key seeds that must be exported. |
Collection of globally unique identifier |
Required |
Certificate |
The X.509 certificate (in the DER or the PFX format) of the receiver of key seeds that must be exported. |
Collection of byte |
Required |
Request Formats
application/json, text/json
Sample:
{ "Ids": [ "8db61f1a-427b-4c07-8252-a34660a137dd", "4fc820be-0fce-474a-9d6b-10700a3f62da" ], "Certificate": "QEA=" }
Response Information
Resource Description
None.
Status Codes
All HTTP status codes must be expected, but the following status codes are the most probable:
- OK (200) - Key seeds are successfully exported.
- BadRequest (400) - Provided data is invalid.
Response Formats
application/pskc+xml
Sample:
<?xml version="1.0" encoding="utf-8"?> <pskc:KeyContainer xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Version="1.0" xmlns:pskc="urn:ietf:params:xml:ns:keyprov:pskc"> <pskc:EncryptionKey> <ds:X509Data> <ds:X509Certificate>MIIEizCCAnMCCQC62C7xyTt/SjANBgkqhkiG9w0BAQsFADCBijELMAkGA1UEBhMCRUUxETAPBgNVBAgMCFRhcnR1bWFhMQ4wDAYDVQQHDAVUYXJ0dTEPMA0GA1UECgwGQXhpbm9tMQwwCgYDVQQLDANEUk0xEzARBgNVBAMMCktleSBTZXJ2ZXIxJDAiBgkqhkiG9w0BCQEWFWtleXNlcnZlckBleGFtcGxlLmNvbTAgFw0xNjA0MTgwNzQ3NTRaGA8zMDE1MDgyMDA3NDc1NFowgYExCzAJBgNVBAYTAkVFMREwDwYDVQQIDAhUYXJ0dW1hYTEOMAwGA1UEBwwFVGFydHUxDzANBgNVBAoMBkF4aW5vbTEMMAoGA1UECwwDRFJNMQ4wDAYDVQQDDAVUZXN0czEgMB4GCSqGSIb3DQEJARYRdGVzdHNAZXhhbXBsZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw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</pskc:EncryptionKey> <pskc:MACMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#hmac-sha512"> <pskc:MACKey> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p" /> <xenc:CipherData> <xenc:CipherValue>oimfNwALXnY2LVGBAs8LlHtTTNttFX9fDFxphJY316FyIN/RCu1aNVT1J6OCXxE83OyCRr8geloAJVF6FnUrYi5kEfTEQ67X9Z03JJiHdLoJPWjdyI0weRS3XKhzHxNXuryMv9k0Vk9SNPedyMMx4Eh5/79Bzdtp6KaDbC9haSmyy8nENV20hDMiKvQFij6EvbnHLzZseMx3iS8uObjJG0gnnMcM8f8TFFWAqmA5tndhPny56QXofO62kvzG4w18V3/uDX4WkcmsjvBzBygxs79gVLmokOo7G7Owd3Od+oA7gsHHe6KCTf/hbW9rk/J4BW3nrNt9ZwY05JzQb2UigQ==</xenc:CipherValue> </xenc:CipherData> </pskc:MACKey> </pskc:MACMethod> <pskc:KeyPackage> <pskc:Key Id="b29c1925-be3b-4165-a36b-08316fb5f9e5" Algorithm="urn:axinom:keyseed"> <pskc:FriendlyName>Named Sample Key Seed</pskc:FriendlyName> <pskc:Data> <pskc:Secret> <pskc:EncryptedValue> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p" /> <xenc:CipherData> <xenc:CipherValue>LfWRRq1sHvb5RD21DdnPSSTq4TpkorzUxytmXBtPIpcWNlZF5fw2DCaiUuMG1/uCmZQfodJSRb/YudjdciqsLO9fQlZigOj3yliFWE/F237joL0azxTZ1SlgHeNVXSyK5P8mhTgFxvTVxFXWMDHlNpF3gGgZbY8gMdwCnA0CtJrdugCt1aZWY+jlhLDnHvtsiTdJO0iBNyIXMKgY05NOJb6OCJ+5Ob5I0rsCefC5aETkB7a7dmQK585ZLnuh/fscZSa6xLyUCvwfG5IciF1liFCjt13EY8lwbuZnU2WH0Sp1w9zKY0ZoIJLMVhFtdFM9IWycmVFGiFNkoRaOYCUJfw==</xenc:CipherValue> </xenc:CipherData> </pskc:EncryptedValue> <pskc:ValueMAC>6MJQeFIyrUwMQSawyp6kF4BuW2YE+BXLhiuZ0oCV2bsjlmolkEpnpGMrTtY/8H4fEo04CKo0AdgtFWg1VfRReQ==</pskc:ValueMAC> </pskc:Secret> </pskc:Data> </pskc:Key> </pskc:KeyPackage> <pskc:KeyPackage> <pskc:Key Id="81057fcd-4250-4ea9-9f15-dd73c5bca138" Algorithm="urn:axinom:keyseed"> <pskc:Data> <pskc:Secret> <pskc:EncryptedValue> <xenc:EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p" /> <xenc:CipherData> <xenc:CipherValue>NjB1u0JAUt2Nx/TnTLu2dsCnWm0nZuaym0zjwxqdWARAWp5bysO1NIP1YtlvLF/WBIofyt4dPN/shMx/u4tpjRysNvgr1WsIfKVKMeEJ4kQKHZ801D7S64LyvqNPuxKuXJzKCuS/OUZWv7FzSMiteeWojETRbYInDDpSqNgLaey8xWgBmjNKilk+cFlUwDKD8sCRH/CIE4JS88pvasR5zf+L4ty3aq4DGgnqJzYyPuXjlZBedyWR582EFGFEpqG5fYV8PCVtQqtwzP2dcUxsAjpXPMYCD1vhMkBYuzPfnshVwMqGUGRq1JfImkvG5wirJujMkN9PJ6nkCj3HDIwqHQ==</xenc:CipherValue> </xenc:CipherData> </pskc:EncryptedValue> <pskc:ValueMAC>wjs85qr6OZda8Hwa++XEryvSl2t1acFNU4e3OYHDSZdG2VGDZP1UhmrQ4rTgKr2/vJoJGdaQLdGemkoUW1tERA==</pskc:ValueMAC> </pskc:Secret> </pskc:Data> </pskc:Key> </pskc:KeyPackage> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <SignedInfo> <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /> <SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha512" /> <Reference URI=""> <Transforms> <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha512" /> <DigestValue>aJIzIt3KvTbrEWIHTktID4v1fYPUDqQwWAFXYzbnGGvi8X4c2OMMP1w9bEtuAp99OGofJqmGv/3MztEhSAZBsg==</DigestValue> </Reference> </SignedInfo> <SignatureValue>YUREOaRMe0KYdB2ZulN1GD/zOZCyrSlNeVnba9Omd8T9CRNm3fuo6e4fMJ+1QcZwS1qAd3wDBTluYhR5FdJh1BQtewIixAF1DD25DzSbOsP2xeQlhKb0c4uffOW7PhLmnpADmLZO4sWTn24fNVqufiLea7u/LrRFv89yj6nyJCB0In1sBav4dbXmkcSzP89OewLNg51Ma6cSbNf8+UsiLWe3+tKYvLxV2hK3PNewyrw/asmiCE0JDeWSt1i8KwtoCxFq38okbtgePbujYpHtyCl7T/7UH/FvilSRek9fpJyqFSd2SYUFwvT9pqHMlwow4/5SbDr/3RIm3+uTBJmilw==</SignatureValue> <KeyInfo> <X509Data> <X509Certificate>MIIEEzCCAvugAwIBAgIJALWhyqvE5bMyMA0GCSqGSIb3DQEBCwUAMIGeMQswCQYDVQQGEwJFRTERMA8GA1UECAwIVGFydHVtYWExDjAMBgNVBAcMBVRhcnR1MQ8wDQYDVQQKDAZBeGlub20xDDAKBgNVBAsMA0RSTTEnMCUGA1UEAwweS2V5IFNlcnZlciBTaWduaW5nIENlcnRpZmljYXRlMSQwIgYJKoZIhvcNAQkBFhVrZXlzZXJ2ZXJAZXhhbXBsZS5jb20wIBcNMTYwNTE4MDc1NjQ1WhgPMzAxNTA5MTkwNzU2NDVaMIGeMQswCQYDVQQGEwJFRTERMA8GA1UECAwIVGFydHVtYWExDjAMBgNVBAcMBVRhcnR1MQ8wDQYDVQQKDAZBeGlub20xDDAKBgNVBAsMA0RSTTEnMCUGA1UEAwweS2V5IFNlcnZlciBTaWduaW5nIENlcnRpZmljYXRlMSQwIgYJKoZIhvcNAQkBFhVrZ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