Universal Print (UP) Printer Registration

%3CLINGO-SUB%20id%3D%22lingo-sub-1392286%22%20slang%3D%22en-US%22%3EUniversal%20Print%20(UP)%20Printer%20Registration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1392286%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRONG%3ELink%20Document%20%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Funiversal-print%2Fhardware%2Funiversal-print-oem-printer-registration%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Funiversal-print%2Fhardware%2Funiversal-print-oem-printer-registration%3C%2FA%3E%3CBR%20%2F%3E%3C%2FSTRONG%3EThe%20DeviceCertRequest%20object%20has%20a%20data%20attribute.%3CBR%20%2F%3EA%20property%20that%20contains%20a%20base64-encoded%20PKCS%20%23%2010%20certificate%20request%20RFC4211.%20The%20certificate%20request%20MUST%20use%20an%20RSA%20public%20key%20algorithm%20with%20a%202048-bit%20key%2C%20a%20SHA256WithRSAEncryption%20signature%20algorithm%2C%20and%20a%20SHA256%20hash%20algorithm.%3CBR%20%2F%3EBut%20I%20don't%20know%20what%20the%20information%20fields%20should%20be%20transmitted.%20In%20the%20sample%20code%20sample%2C%20the%20fields%20are%20as%20follows%3CBR%20%2F%3E%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%20%20var%20values%20%3D%20new%20Dictionary%3CDEROBJECTIDENTIFIER%3E%20%7B%0A%20%20%20%20%7BX509Name.CN%2C%20%22Microsoft%22%7D%2C%20%2F%2Fdomain%20name%20inside%20the%20quotes%0A%20%20%20%20%7BX509Name.O%2C%20%22Microsoft%20Corp%22%7D%2C%20%2F%2FOrganisation%5C's%20Legal%20name%20inside%20the%20quotes%0A%20%20%20%20%7BX509Name.L%2C%20%22Redmond%22%7D%2C%0A%20%20%20%20%7BX509Name.ST%2C%20%22Washington%22%7D%2C%0A%20%20%20%20%7BX509Name.C%2C%20%22US%22%7D%2C%0A%20%20%20%20%7D%3B%3C%2FDEROBJECTIDENTIFIER%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EBut%20I%20don't%20know%20my%20request%20properties%20%3F%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Link Document : https://docs.microsoft.com/en-us/universal-print/hardware/universal-print-oem-printer-registration
The DeviceCertRequest object has a data attribute.
A property that contains a base64-encoded PKCS # 10 certificate request RFC4211. The certificate request MUST use an RSA public key algorithm with a 2048-bit key, a SHA256WithRSAEncryption signature algorithm, and a SHA256 hash algorithm.
But I don't know what the information fields should be transmitted. In the sample code sample, the fields are as follows

  var values = new Dictionary<DerObjectIdentifier, string> {
    {X509Name.CN, "Microsoft"}, //domain name inside the quotes
    {X509Name.O, "Microsoft Corp"}, //Organisation\'s Legal name inside the quotes
    {X509Name.L, "Redmond"},
    {X509Name.ST, "Washington"},
    {X509Name.C, "US"},
    };

But I don't know my request properties ? 

0 Replies