Skip to content

Commit dc1a9fa

Browse files
authored
Updates after azure-security-keyvault-jca:2.7.0 released (Azure#29075)
1 parent 39b34ac commit dc1a9fa

File tree

6 files changed

+39
-30
lines changed

6 files changed

+39
-30
lines changed

eng/jacoco-test-coverage/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@
273273
<dependency>
274274
<groupId>com.azure</groupId>
275275
<artifactId>azure-security-keyvault-jca</artifactId>
276-
<version>2.7.0-beta.1</version> <!-- {x-version-update;com.azure:azure-security-keyvault-jca;current} -->
276+
<version>2.8.0-beta.1</version> <!-- {x-version-update;com.azure:azure-security-keyvault-jca;current} -->
277277
</dependency>
278278
<dependency>
279279
<groupId>com.azure</groupId>

eng/versioning/version_client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ com.azure:azure-security-attestation;1.1.2;1.2.0-beta.1
123123
com.azure:azure-security-confidentialledger;1.0.0-beta.2;1.0.0-beta.3
124124
com.azure:azure-security-keyvault-administration;4.1.2;4.2.0-beta.1
125125
com.azure:azure-security-keyvault-certificates;4.3.2;4.4.0-beta.1
126-
com.azure:azure-security-keyvault-jca;2.6.0;2.7.0-beta.1
126+
com.azure:azure-security-keyvault-jca;2.7.0;2.8.0-beta.1
127127
com.azure:azure-security-test-keyvault-jca;1.0.0;1.0.0
128128
com.azure:azure-security-keyvault-keys;4.4.2;4.5.0-beta.1
129129
com.azure:azure-security-keyvault-secrets;4.4.2;4.5.0-beta.1

sdk/keyvault/azure-security-keyvault-jca/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release History
22

3-
## 2.7.0-beta.1 (Unreleased)
3+
## 2.8.0-beta.1 (Unreleased)
44

55
### Features Added
66

@@ -10,6 +10,11 @@
1010

1111
### Other Changes
1212

13+
## 2.7.0 (2022-05-24)
14+
15+
### Dependency Upgrades
16+
Regular updates for dependency versions.
17+
1318
## 2.6.0 (2022-02-25)
1419

1520
### Dependency Upgrades

sdk/keyvault/azure-security-keyvault-jca/README.md

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ add the direct dependency to your project as follows.
5050
<dependency>
5151
<groupId>com.azure</groupId>
5252
<artifactId>azure-security-keyvault-jca</artifactId>
53-
<version>2.6.0</version>
53+
<version>2.7.0</version>
5454
</dependency>
5555
```
5656
[//]: # ({x-version-update-end})
@@ -158,22 +158,22 @@ Or add permission by cli command:
158158
Please replace `${KEY_VAULT}` with your key vault name and replace `${MANAGED_IDENTITY}` with your principal's object-id.
159159

160160
### Supported key type
161-
Content Type | Key Type | Key Size or Elliptic curve name | Sign algorithm | Support |
162-
-------------|----------|---------------------------------|---------------- |-------- |
163-
PKCS #12 | RSA | 2048 | RSASSA-PSS | ✔ |
164-
PKCS #12 | RSA | 3072 | RSASSA-PSS | ✔ |
165-
PKCS #12 | RSA | 4096 | RSASSA-PSS | ✔ |
166-
PKCS #12 | EC | P-256 | SHA256withECDSA | ✔ |
167-
PKCS #12 | EC | P-384 | SHA384withECDSA | ✔ |
168-
PKCS #12 | EC | P-521 | SHA512withECDSA | ✔ |
169-
PKCS #12 | EC | P-256K | | ✘ |
170-
PEM | RSA | 2048 | RSASSA-PSS | ✔ |
171-
PEM | RSA | 3072 | RSASSA-PSS | ✔ |
172-
PEM | RSA | 4096 | RSASSA-PSS | ✔ |
173-
PEM | EC | P-256 | SHA256withECDSA | ✔ |
174-
PEM | EC | P-384 | SHA384withECDSA | ✔ |
175-
PEM | EC | P-521 | SHA512withECDSA | ✔ |
176-
PEM | EC | P-256K | | ✘ |
161+
| Content Type | Key Type | Key Size or Elliptic curve name | Sign algorithm | Support |
162+
|--------------|----------|---------------------------------|-----------------|---------|
163+
| PKCS #12 | RSA | 2048 | RSASSA-PSS | ✔ |
164+
| PKCS #12 | RSA | 3072 | RSASSA-PSS | ✔ |
165+
| PKCS #12 | RSA | 4096 | RSASSA-PSS | ✔ |
166+
| PKCS #12 | EC | P-256 | SHA256withECDSA | ✔ |
167+
| PKCS #12 | EC | P-384 | SHA384withECDSA | ✔ |
168+
| PKCS #12 | EC | P-521 | SHA512withECDSA | ✔ |
169+
| PKCS #12 | EC | P-256K | | ✘ |
170+
| PEM | RSA | 2048 | RSASSA-PSS | ✔ |
171+
| PEM | RSA | 3072 | RSASSA-PSS | ✔ |
172+
| PEM | RSA | 4096 | RSASSA-PSS | ✔ |
173+
| PEM | EC | P-256 | SHA256withECDSA | ✔ |
174+
| PEM | EC | P-384 | SHA384withECDSA | ✔ |
175+
| PEM | EC | P-521 | SHA512withECDSA | ✔ |
176+
| PEM | EC | P-256K | | ✘ |
177177

178178
## Troubleshooting
179179

@@ -207,14 +207,18 @@ com.azure.security.keyvault.jca.level = ALL
207207
Azure Key Vault JCA clients raise exceptions. For example, if you try to check a client's identity with a certificate chain that does not include a trusted certificate, a `CertificateException` will be thrown. In the following snippet, the error is handled gracefully by catching the exception and displaying additional information about the error.
208208

209209
```java
210-
try {
211-
KeyVaultJcaProvider provider = new KeyVaultJcaProvider();
212-
Security.addProvider(provider);
213-
...
214-
// Start SSL server socket
215-
...
216-
} catch (CertificateException e) {
217-
System.out.println(e.getMessage());
210+
class Demo {
211+
void demo () {
212+
try {
213+
KeyVaultJcaProvider provider = new KeyVaultJcaProvider();
214+
Security.addProvider(provider);
215+
// ...
216+
// Start SSL server socket
217+
// ...
218+
} catch (CertificateException e) {
219+
System.out.println(e.getMessage());
220+
}
221+
}
218222
}
219223
```
220224

sdk/keyvault/azure-security-keyvault-jca/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<groupId>com.azure</groupId>
1616
<artifactId>azure-security-keyvault-jca</artifactId>
17-
<version>2.7.0-beta.1</version> <!-- {x-version-update;com.azure:azure-security-keyvault-jca;current} -->
17+
<version>2.8.0-beta.1</version> <!-- {x-version-update;com.azure:azure-security-keyvault-jca;current} -->
1818
<name>JCA Provider for Azure Key Vault</name>
1919
<description>The Java Crypto Architecture (JCA) Provider for Azure Key Vault</description>
2020

sdk/keyvault/azure-security-test-keyvault-jca/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<dependency>
2626
<groupId>com.azure</groupId>
2727
<artifactId>azure-security-keyvault-jca</artifactId>
28-
<version>2.7.0-beta.1</version> <!-- {x-version-update;com.azure:azure-security-keyvault-jca;current} -->
28+
<version>2.8.0-beta.1</version> <!-- {x-version-update;com.azure:azure-security-keyvault-jca;current} -->
2929
</dependency>
3030

3131
<!-- Apache HttpClient -->

0 commit comments

Comments
 (0)