org.glite.voms.ac

Class Holder

Implemented Interfaces:
DEREncodable

public class Holder
extends java.lang.Object
implements DEREncodable

The Holder object.
  Holder ::= SEQUENCE {
        baseCertificateID   [0] IssuerSerial OPTIONAL,
                 -- the issuer and serial number of
                 -- the holder's Public Key Certificate
        entityName          [1] GeneralNames OPTIONAL,
                 -- the name of the claimant or role
        objectDigestInfo    [2] ObjectDigestInfo OPTIONAL
                 -- used to directly authenticate the holder,
                 -- for example, an executable
  }
 

Constructor Summary

Holder(ASN1Sequence seq)
Holder(X500Principal issuer, BigInteger serial)
Holder(X509Certificate cert)

Method Summary

DERObject
getDERObject()
GeneralNames
getIssuer()
boolean
isHolder(X509Certificate cert)
protected static boolean
matchesDN(X500Principal subject, GeneralNames targets)

Constructor Details

Holder

public Holder(ASN1Sequence seq)

Holder

public Holder(X500Principal issuer,
              BigInteger serial)

Holder

public Holder(X509Certificate cert)

Method Details

getDERObject

public DERObject getDERObject()

getIssuer

public GeneralNames getIssuer()

isHolder

public boolean isHolder(X509Certificate cert)

matchesDN

protected static boolean matchesDN(X500Principal subject,
                                   GeneralNames targets)