Class PrincipalUtil


  • public class PrincipalUtil
    extends Object
    a utility class that will extract X509Principal objects from X.509 certificates.

    Use this in preference to trying to recreate a principal from a String, not all DNs are what they should be, so it's best to leave them encoded where they can be.