Skip to content

Commit dfbb155

Browse files
authored
Add test coverage for MHSM and local cryptography (Azure#18902)
* Add test coverage for MHSM and local cryptography Resolves Azure#16713 Resolves Azure#18864 Temporarily works around Azure#18800 by trimming leading zeros coming back from the service after updating a key and before asserting equality. * Add comments explaining CreateRSAProvider private method * Resolve PR feedback
1 parent 5e3db86 commit dfbb155

File tree

545 files changed

+60049
-22433
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

545 files changed

+60049
-22433
lines changed

sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/CertificatesTestBase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ namespace Azure.Security.KeyVault.Certificates.Tests
1515
{
1616
[ClientTestFixture(
1717
CertificateClientOptions.ServiceVersion.V7_0,
18-
CertificateClientOptions.ServiceVersion.V7_1)]
18+
CertificateClientOptions.ServiceVersion.V7_1,
19+
CertificateClientOptions.ServiceVersion.V7_2)]
1920
[NonParallelizable]
2021
public abstract class CertificatesTestBase : RecordedTestBase<KeyVaultTestEnvironment>
2122
{

sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/SessionRecords/CertificateClientLiveTests/DownloadLatestCertificate(%application%x-pkcs12%).json

Lines changed: 233 additions & 145 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/SessionRecords/CertificateClientLiveTests/DownloadLatestCertificate(%application%x-pkcs12%)Async.json

Lines changed: 772 additions & 112 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/SessionRecords/CertificateClientLiveTests/DownloadNonExportableCertificate(%application%x-pkcs12%).json

Lines changed: 409 additions & 101 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/SessionRecords/CertificateClientLiveTests/DownloadNonExportableCertificate(%application%x-pkcs12%)Async.json

Lines changed: 453 additions & 101 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/SessionRecords/CertificateClientLiveTests/DownloadVersionedCertificate(%application%x-pkcs12%).json

Lines changed: 975 additions & 356 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/SessionRecords/CertificateClientLiveTests/DownloadVersionedCertificate(%application%x-pkcs12%)Async.json

Lines changed: 1169 additions & 330 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/SessionRecords/CertificateClientLiveTests/StartCreateCertificateError.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/keyvault/Azure.Security.KeyVault.Certificates/tests/SessionRecords/CertificateClientLiveTests/StartCreateCertificateErrorAsync.json

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)