SubjectAlternativeNames Class
- java.
lang. Object - com.
azure. security. keyvault. certificates. models. SubjectAlternativeNames
- com.
Implements
public final class SubjectAlternativeNames
implements JsonSerializable<SubjectAlternativeNames>
The subject alternate names of a X509 object.
Constructor Summary
Constructor | Description |
---|---|
SubjectAlternativeNames() |
Creates an instance of Subject |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Subject |
fromJson(JsonReader jsonReader)
Reads an instance of Subject |
List<String> |
getDnsNames()
Get the dns |
List<String> |
getEmails()
Get the emails property: Email addresses. |
List<String> |
getUserPrincipalNames()
Get the user |
Subject |
setDnsNames(List<String> dnsNames)
Set the dns |
Subject |
setEmails(List<String> emails)
Set the emails property: Email addresses. |
Subject |
setUserPrincipalNames(List<String> userPrincipalNames)
Set the user |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SubjectAlternativeNames
public SubjectAlternativeNames()
Creates an instance of SubjectAlternativeNames class.
Method Details
fromJson
public static SubjectAlternativeNames fromJson(JsonReader jsonReader)
Reads an instance of SubjectAlternativeNames from the JsonReader.
Parameters:
Returns:
Throws:
getDnsNames
public List
Get the dnsNames property: Domain names.
Returns:
getEmails
public List
Get the emails property: Email addresses.
Returns:
getUserPrincipalNames
public List
Get the userPrincipalNames property: User principal names.
Returns:
setDnsNames
public SubjectAlternativeNames setDnsNames(List
Set the dnsNames property: Domain names.
Parameters:
Returns:
setEmails
public SubjectAlternativeNames setEmails(List
Set the emails property: Email addresses.
Parameters:
Returns:
setUserPrincipalNames
public SubjectAlternativeNames setUserPrincipalNames(List
Set the userPrincipalNames property: User principal names.
Parameters:
Returns:
toJson
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for