org.glite.voms.ac
Class Holder

java.lang.Object
  extended by org.glite.voms.ac.Holder
All Implemented Interfaces:
org.bouncycastle.asn1.DEREncodable

public class Holder
extends java.lang.Object
implements org.bouncycastle.asn1.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(org.bouncycastle.asn1.ASN1Sequence seq)
           
Holder(javax.security.auth.x500.X500Principal issuer, java.math.BigInteger serial)
           
Holder(java.security.cert.X509Certificate cert)
           
 
Method Summary
 org.bouncycastle.asn1.DERObject getDERObject()
           
 org.bouncycastle.asn1.x509.GeneralNames getIssuer()
           
 boolean isHolder(java.security.cert.X509Certificate cert)
           
protected static boolean matchesDN(javax.security.auth.x500.X500Principal subject, org.bouncycastle.asn1.x509.GeneralNames targets)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Holder

public Holder(java.security.cert.X509Certificate cert)

Holder

public Holder(javax.security.auth.x500.X500Principal issuer,
              java.math.BigInteger serial)

Holder

public Holder(org.bouncycastle.asn1.ASN1Sequence seq)
Method Detail

getIssuer

public org.bouncycastle.asn1.x509.GeneralNames getIssuer()

matchesDN

protected static boolean matchesDN(javax.security.auth.x500.X500Principal subject,
                                   org.bouncycastle.asn1.x509.GeneralNames targets)

isHolder

public boolean isHolder(java.security.cert.X509Certificate cert)

getDERObject

public org.bouncycastle.asn1.DERObject getDERObject()
Specified by:
getDERObject in interface org.bouncycastle.asn1.DEREncodable


Copyright © 2012. All Rights Reserved.