Package org.opensaml.security.x509.tls
Class CertificateNameOptions
- java.lang.Object
-
- org.opensaml.security.x509.tls.CertificateNameOptions
-
-
Field Summary
Fields Modifier and Type Field Description private booleanevaluateSubjectCommonNameEvaluate the certificate subject DN's common name (CN) as a derived issuer entity ID.private booleanevaluateSubjectDNEvaluate the certificate subject DN as a derived issuer entity ID.private Set<Integer>subjectAltNamesThe set of types of subject alternative names evaluate as derived issuer entity ID names.private X500DNHandlerx500DNHandlerResponsible for serializing X.500 names to strings from certificate-derivedX500Principalinstances.private Stringx500SubjectDNFormatThe format specifier for serializing X.500 subject names to strings.
-
Constructor Summary
Constructors Constructor Description CertificateNameOptions()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateNameOptionsclone()booleanevaluateSubjectCommonName()Get whether to evaluate the certificate subject DN's common name (CN) as a derived issuer entity ID.booleanevaluateSubjectDN()Get whether to evaluate the certificate subject DN as a derived issuer entity ID.Set<Integer>getSubjectAltNames()Get the set of types of subject alternative names evaluate as derived issuer entity ID names, using integer constants defined inX509Support.X500DNHandlergetX500DNHandler()Get the handler responsible for serializing X.500 names to strings from certificate-derivedX500Principalinstances.StringgetX500SubjectDNFormat()Get the format specifier for serializing X.500 subject names to strings.voidsetEvaluateSubjectCommonName(boolean flag)Set whether to evaluate the certificate subject DN's common name (CN) as a derived issuer entity ID.voidsetEvaluateSubjectDN(boolean flag)Set whether to evaluate the certificate subject DN as a derived issuer entity ID.voidsetSubjectAltNames(Set<Integer> names)Set the set of types of subject alternative names evaluate as derived issuer entity ID names, using integer constants defined inX509Support.voidsetX500DNHandler(X500DNHandler handler)Set the handler responsible for serializing X.500 names to strings from certificate-derivedX500Principalinstances.voidsetX500SubjectDNFormat(String format)Set the format specifier for serializing X.500 subject names to strings.
-
-
-
Field Detail
-
evaluateSubjectDN
private boolean evaluateSubjectDN
Evaluate the certificate subject DN as a derived issuer entity ID.
-
evaluateSubjectCommonName
private boolean evaluateSubjectCommonName
Evaluate the certificate subject DN's common name (CN) as a derived issuer entity ID.
-
subjectAltNames
private Set<Integer> subjectAltNames
The set of types of subject alternative names evaluate as derived issuer entity ID names.
-
x500DNHandler
private X500DNHandler x500DNHandler
Responsible for serializing X.500 names to strings from certificate-derivedX500Principalinstances.
-
x500SubjectDNFormat
private String x500SubjectDNFormat
The format specifier for serializing X.500 subject names to strings.
-
-
Method Detail
-
evaluateSubjectCommonName
public boolean evaluateSubjectCommonName()
Get whether to evaluate the certificate subject DN's common name (CN) as a derived issuer entity ID.- Returns:
- Returns the evaluateSubjectCommonName.
-
setEvaluateSubjectCommonName
public void setEvaluateSubjectCommonName(boolean flag)
Set whether to evaluate the certificate subject DN's common name (CN) as a derived issuer entity ID.- Parameters:
flag- new new evaluateSubjectCommonName value.
-
evaluateSubjectDN
public boolean evaluateSubjectDN()
Get whether to evaluate the certificate subject DN as a derived issuer entity ID.- Returns:
- Returns the evaluateSubjectDN.
-
setEvaluateSubjectDN
public void setEvaluateSubjectDN(boolean flag)
Set whether to evaluate the certificate subject DN as a derived issuer entity ID.- Parameters:
flag- the new evaluateSubjectDN value.
-
getSubjectAltNames
@Nonnull @NonnullElements @NotLive @Unmodifiable public Set<Integer> getSubjectAltNames()
Get the set of types of subject alternative names evaluate as derived issuer entity ID names, using integer constants defined inX509Support.- Returns:
- Returns the subjectAltNames.
-
setSubjectAltNames
public void setSubjectAltNames(@Nullable @NonnullElements Set<Integer> names)
Set the set of types of subject alternative names evaluate as derived issuer entity ID names, using integer constants defined inX509Support.- Parameters:
names- the set of types of subject alternative names
-
getX500DNHandler
public X500DNHandler getX500DNHandler()
Get the handler responsible for serializing X.500 names to strings from certificate-derivedX500Principalinstances.- Returns:
- Returns the x500DNHandler.
-
setX500DNHandler
public void setX500DNHandler(X500DNHandler handler)
Set the handler responsible for serializing X.500 names to strings from certificate-derivedX500Principalinstances.- Parameters:
handler- the new x500DNHandler value.
-
getX500SubjectDNFormat
public String getX500SubjectDNFormat()
Get the format specifier for serializing X.500 subject names to strings.- Returns:
- Returns the x500SubjectDNFormat.
-
setX500SubjectDNFormat
public void setX500SubjectDNFormat(String format)
Set the format specifier for serializing X.500 subject names to strings.- Parameters:
format- the new x500SubjectDNFormat value.
-
clone
public CertificateNameOptions clone()
-
-