Class PrincipalUtils

java.lang.Object
eu.emi.security.authn.x509.helpers.pkipath.bc.PrincipalUtils

class PrincipalUtils extends Object
  • Constructor Details

    • PrincipalUtils

      PrincipalUtils()
  • Method Details

    • getSubjectPrincipal

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

      static org.bouncycastle.asn1.x500.X500Name getIssuerPrincipal(X509CRL crl)
    • getIssuerPrincipal

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

      static org.bouncycastle.asn1.x500.X500Name getCA(TrustAnchor trustAnchor)
    • getEncodedIssuerPrincipal

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