File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/KubernetesClient.Tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public void LoadFromFiles()
30
30
31
31
// Just validate that this doesn't throw and private key is non-null
32
32
var cert = CertUtils . GeneratePfx ( cfg ) ;
33
- Assert . NotNull ( cert . PrivateKey ) ;
33
+ Assert . NotNull ( cert . GetRSAPrivateKey ( ) ) ;
34
34
}
35
35
36
36
/// <summary>
@@ -45,7 +45,7 @@ public void LoadFromFilesRelativePath()
45
45
46
46
// Just validate that this doesn't throw and private key is non-null
47
47
var cert = CertUtils . GeneratePfx ( cfg ) ;
48
- Assert . NotNull ( cert . PrivateKey ) ;
48
+ Assert . NotNull ( cert . GetRSAPrivateKey ( ) ) ;
49
49
}
50
50
51
51
/// <summary>
@@ -59,7 +59,7 @@ public void LoadFromInlineData()
59
59
60
60
// Just validate that this doesn't throw and private key is non-null
61
61
var cert = CertUtils . GeneratePfx ( cfg ) ;
62
- Assert . NotNull ( cert . PrivateKey ) ;
62
+ Assert . NotNull ( cert . GetRSAPrivateKey ( ) ) ;
63
63
}
64
64
65
65
/// <summary>
@@ -74,7 +74,7 @@ public void LoadFromInlineDataRelativePath()
74
74
75
75
// Just validate that this doesn't throw and private key is non-null
76
76
var cert = CertUtils . GeneratePfx ( cfg ) ;
77
- Assert . NotNull ( cert . PrivateKey ) ;
77
+ Assert . NotNull ( cert . GetRSAPrivateKey ( ) ) ;
78
78
}
79
79
80
80
/// <summary>
You can’t perform that action at this time.
0 commit comments