Class CertInfo
java.lang.Object
io.getlime.security.powerauth.app.tppengine.model.certificate.CertInfo
public class CertInfo extends Object
Information about subject from the certificate.
- Author:
- Petr Dvorak, petr@wultra.com
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCertInfo.PSD2 -
Field Summary
Fields Modifier and Type Field Description static StringHTTP_HEADERLocation of the forwarded certificate in HTTP header. -
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringgetAddressUnstructured()Get unstructured TPP address information.StringgetCity()StringgetCommonName()StringgetCountry()StringgetOrganization()StringgetPsd2License()Set<CertInfo.PSD2>getPsd2Mandates()StringgetRegion()StringgetSerialNumber()StringgetStreet()StringgetWebsite()StringgetZipCode()booleanhasPsd2License()Checks if the certificate info contains a correct PSD2 license information.
-
Field Details
-
HTTP_HEADER
Location of the forwarded certificate in HTTP header.- See Also:
- Constant Field Values
-
-
Constructor Details
-
CertInfo
-
-
Method Details
-
getSerialNumber
-
getCommonName
-
getPsd2License
-
getOrganization
-
getStreet
-
getCity
-
getZipCode
-
getRegion
-
getCountry
-
getWebsite
-
getPsd2Mandates
-
hasPsd2License
public boolean hasPsd2License()Checks if the certificate info contains a correct PSD2 license information.- Returns:
- True in case PSD2 license is contained, false otherwise.
-
getAddressUnstructured
Get unstructured TPP address information.- Returns:
- Unstructured TPP address information.
-