Interface IdentityParser
-
- All Known Implementing Classes:
DefaultIdentityParser
public interface IdentityParser
An interface that provides a method to parse identity information from a certificate. It's up to the implementation to decide what exact information it is.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
parseIdentityFromCert(java.security.cert.X509Certificate certificate)
Returns a string representation of the identity represented by theX509Certificate
.
-
-
-
Method Detail
-
parseIdentityFromCert
java.lang.String parseIdentityFromCert(java.security.cert.X509Certificate certificate)
Returns a string representation of the identity represented by theX509Certificate
.- Parameters:
certificate
- TheX509Certificate
for the request- Returns:
- Returns a string representation of the X.500 distinguished name using the format defined in RFC 2253.
-
-