Package io.quarkus.vault.pki
Class SignIntermediateCAOptions
java.lang.Object
io.quarkus.vault.pki.SignIntermediateCAOptions
Options for signing an intermediate CA certificate.
-
Field Summary
FieldsModifier and TypeFieldDescriptionFlag determining if the Common Name (CN) of the subject will be included by default in the Subject Alternative Names of issued certificates.Specifies returned format of certificate data.Specifies IP Subject Alternative Names.Specifies the maximum path length for generated certificate.Specifies custom OID/UTF8-string Subject Alternative Names.DNS domains for which certificates are allowed to be issued or signed by this CA certificate.Specifies Subject Alternative Names.Specifies Common Name (CN) of the subject.Specifies Country (C) of the subject.Specifies Locality (L) of the subject.Specifies Organization (O) of the subject.Specifies Organizational Unit (OU) of the subject.Specifies Postal Code of the subject.Specifies Province (ST) of the subject.Specifies the Serial Number (SERIALNUMBER) of the subject.Specifies Street Address of the subject.Specifies time-to-live.Specifies URI Subject Alternative Names.Flag determining if CSR values are used instead of configured default values. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetExcludeCommonNameFromSubjectAlternativeNames(Boolean excludeCommonNameFromSubjectAlternativeNames) setFormat(DataFormat format) setIpSubjectAlternativeNames(List<String> ipSubjectAlternativeNames) setMaxPathLength(Integer maxPathLength) setOtherSubjectAlternativeNames(List<String> otherSubjectAlternativeNames) setPermittedDnsDomains(List<String> permittedDnsDomains) setSubjectAlternativeNames(List<String> subjectAlternativeNames) setSubjectCommonName(String subjectCommonName) setSubjectCountry(String subjectCountry) setSubjectLocality(String subjectLocality) setSubjectOrganization(String subjectOrganization) setSubjectOrganizationalUnit(String subjectOrganizationalUnit) setSubjectPostalCode(String subjectPostalCode) setSubjectProvince(String subjectProvince) setSubjectSerialNumber(String subjectSerialNumber) setSubjectStreetAddress(String subjectStreetAddress) setTimeToLive(String timeToLive) setUriSubjectAlternativeNames(List<String> uriSubjectAlternativeNames) setUseCSRValues(Boolean useCSRValues)
-
Field Details
-
subjectCommonName
Specifies Common Name (CN) of the subject. -
subjectOrganization
Specifies Organization (O) of the subject. -
subjectOrganizationalUnit
Specifies Organizational Unit (OU) of the subject. -
subjectStreetAddress
Specifies Street Address of the subject. -
subjectPostalCode
Specifies Postal Code of the subject. -
subjectLocality
Specifies Locality (L) of the subject. -
subjectProvince
Specifies Province (ST) of the subject. -
subjectCountry
Specifies Country (C) of the subject. -
subjectSerialNumber
Specifies the Serial Number (SERIALNUMBER) of the subject. -
subjectAlternativeNames
Specifies Subject Alternative Names.These can be host names or email addresses; they will be parsed into their respective fields.
-
excludeCommonNameFromSubjectAlternativeNames
Flag determining if the Common Name (CN) of the subject will be included by default in the Subject Alternative Names of issued certificates. -
ipSubjectAlternativeNames
Specifies IP Subject Alternative Names. -
uriSubjectAlternativeNames
Specifies URI Subject Alternative Names. -
otherSubjectAlternativeNames
Specifies custom OID/UTF8-string Subject Alternative Names.The format is the same as OpenSSL:
; : where the only current valid type is UTF8. -
timeToLive
Specifies time-to-live.Value is specified as a string duration with time suffix. Hour is the largest supported suffix.
-
maxPathLength
Specifies the maximum path length for generated certificate. -
useCSRValues
Flag determining if CSR values are used instead of configured default values.Enables the following handling:
- Subject information, including names and alternate names, will be preserved from the CSR.
- Any key usages (for instance, non-repudiation) requested in the CSR will be added to the set of CA key usages.
- Extensions requested in the CSR will be copied into the issued certificate.
-
permittedDnsDomains
DNS domains for which certificates are allowed to be issued or signed by this CA certificate. Subdomains are allowed, as per RFC. -
format
Specifies returned format of certificate data. If unspecified it defaults toDataFormat.PEM
-
-
Constructor Details
-
SignIntermediateCAOptions
public SignIntermediateCAOptions()
-
-
Method Details
-
setSubjectCommonName
-
setSubjectOrganization
-
setSubjectOrganizationalUnit
-
setSubjectStreetAddress
-
setSubjectPostalCode
-
setSubjectLocality
-
setSubjectProvince
-
setSubjectCountry
-
setSubjectSerialNumber
-
setSubjectAlternativeNames
-
setExcludeCommonNameFromSubjectAlternativeNames
public SignIntermediateCAOptions setExcludeCommonNameFromSubjectAlternativeNames(Boolean excludeCommonNameFromSubjectAlternativeNames) -
setIpSubjectAlternativeNames
public SignIntermediateCAOptions setIpSubjectAlternativeNames(List<String> ipSubjectAlternativeNames) -
setUriSubjectAlternativeNames
public SignIntermediateCAOptions setUriSubjectAlternativeNames(List<String> uriSubjectAlternativeNames) -
setOtherSubjectAlternativeNames
public SignIntermediateCAOptions setOtherSubjectAlternativeNames(List<String> otherSubjectAlternativeNames) -
setTimeToLive
-
setMaxPathLength
-
setUseCSRValues
-
setPermittedDnsDomains
-
setFormat
-