Closed mregen closed 5 years ago
The GDS sample can create a public private key pair with PEM as private key. But the key uses PKCS#5 format.
see -> https://github.com/Azure/azure-iiot-opc-vault-service/issues/44
also PEM password support should be added..currently always returns a unprotected PEM.
PEM is created in the CertificateFactory. The exposed function should be changed to support password and return the PKCS#8.
Note: Adding PKCS#8 w. encryped password turned out to be quite a task, because the Bouncy Castle PemWriter doesn't support it natively. Postponed.
The GDS sample can create a public private key pair with PEM as private key. But the key uses PKCS#5 format.
see -> https://github.com/Azure/azure-iiot-opc-vault-service/issues/44
also PEM password support should be added..currently always returns a unprotected PEM.
PEM is created in the CertificateFactory. The exposed function should be changed to support password and return the PKCS#8.