-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Certificates api changes #6309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Certificates api changes #6309
Changes from 5 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
8a1f7f3
API updates
g2vinay 9d757c8
samples update
g2vinay e4dc6ec
API changes
g2vinay 3721edf
sample updates + checkstyle fixes
g2vinay d5ea025
feedback updates
g2vinay 18e1e9a
compile fix
g2vinay 3799f45
feedback update + sans update + checkstyle fixes
g2vinay c1bdc44
feedback updates
g2vinay 2b17a83
feedback updates
g2vinay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
415 changes: 143 additions & 272 deletions
415
...icates/src/main/java/com/azure/security/keyvault/certificates/CertificateAsyncClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
304 changes: 62 additions & 242 deletions
304
...ertificates/src/main/java/com/azure/security/keyvault/certificates/CertificateClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...ificates/src/main/java/com/azure/security/keyvault/certificates/WellKnownIssuerNames.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| // Copyright (c) Microsoft Corporation. All rights reserved. | ||
| // Licensed under the MIT License. | ||
|
|
||
| package com.azure.security.keyvault.certificates; | ||
|
|
||
| import com.azure.security.keyvault.certificates.models.CertificatePolicy; | ||
| import com.azure.security.keyvault.certificates.models.MergeCertificateOptions; | ||
|
|
||
| /** | ||
| * Represents well known issuer names to refer in {@link CertificatePolicy} | ||
| */ | ||
| public class WellKnownIssuerNames { | ||
|
|
||
| /** | ||
| * Create a self-issued certificate. | ||
| */ | ||
| public static final String SELF = "Self"; | ||
|
|
||
|
|
||
| /** | ||
| * Creates a certificate that requires merging an external X.509 certificate using | ||
| * {@link CertificateClient#mergeCertificate(MergeCertificateOptions)} or | ||
| * {@link CertificateAsyncClient#mergeCertificate(MergeCertificateOptions)}. | ||
| */ | ||
| public static final String UNKNOWN = "Unknown"; | ||
|
|
||
| } |
2 changes: 1 addition & 1 deletion
2
...ertificates/KeyVaultCredentialPolicy.java → ...lementation/KeyVaultCredentialPolicy.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...eyvault/certificates/ScopeTokenCache.java → ...cates/implementation/ScopeTokenCache.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.