Class PrincipalUtils


  • class PrincipalUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PrincipalUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static org.bouncycastle.asn1.x500.X500Name getCA​(java.security.cert.TrustAnchor trustAnchor)  
      (package private) static org.bouncycastle.asn1.x500.X500Name getEncodedIssuerPrincipal​(java.lang.Object cert)
      Returns the issuer of an attribute certificate or certificate.
      (package private) static org.bouncycastle.asn1.x500.X500Name getIssuerPrincipal​(java.security.cert.X509Certificate cert)  
      (package private) static org.bouncycastle.asn1.x500.X500Name getIssuerPrincipal​(java.security.cert.X509CRL crl)  
      (package private) static org.bouncycastle.asn1.x500.X500Name getSubjectPrincipal​(java.security.cert.X509Certificate cert)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrincipalUtils

        PrincipalUtils()
    • Method Detail

      • getSubjectPrincipal

        static org.bouncycastle.asn1.x500.X500Name getSubjectPrincipal​(java.security.cert.X509Certificate cert)
      • getIssuerPrincipal

        static org.bouncycastle.asn1.x500.X500Name getIssuerPrincipal​(java.security.cert.X509CRL crl)
      • getIssuerPrincipal

        static org.bouncycastle.asn1.x500.X500Name getIssuerPrincipal​(java.security.cert.X509Certificate cert)
      • getCA

        static org.bouncycastle.asn1.x500.X500Name getCA​(java.security.cert.TrustAnchor trustAnchor)
      • getEncodedIssuerPrincipal

        static org.bouncycastle.asn1.x500.X500Name getEncodedIssuerPrincipal​(java.lang.Object cert)
        Returns the issuer of an attribute certificate or certificate.
        Parameters:
        cert - The attribute certificate or certificate.
        Returns:
        The issuer as X500Principal.