org.glite.voms.ac
Class AttributeCertificateInfo

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

public class AttributeCertificateInfo
extends Object
implements org.bouncycastle.asn1.DEREncodable

Shadow implementation of AttributeCertificateInfo from BouncyCastle

Author:
Joni Hahkala, Olle Mulmo

Field Summary
static String AC_CERTS_OID
           
static String AC_FULL_ATTRIBUTES_OID
           
static String AC_TARGET_OID
           
static String VOMS_ATTR_OID
           
static String VOMS_EXT_OID
           
 
Constructor Summary
AttributeCertificateInfo(org.bouncycastle.asn1.ASN1Sequence seq)
           
 
Method Summary
 org.bouncycastle.asn1.DERInteger getAttCertVersion()
           
 org.bouncycastle.asn1.x509.AttCertValidityPeriod getAttrCertValidityPeriod()
           
 org.bouncycastle.asn1.ASN1Sequence getAttributes()
           
 ACCerts getCertList()
           
 org.bouncycastle.asn1.DERObject getDERObject()
          Produce an object suitable for an ASN1OutputStream.
 org.bouncycastle.asn1.x509.X509Extensions getExtensions()
           
 FullAttributes getFullAttributes()
           
 List getFullyQualifiedAttributes()
           
 Holder getHolder()
           
 String getHost()
           
 String getHostPort()
           
static AttributeCertificateInfo getInstance(org.bouncycastle.asn1.ASN1Sequence seq)
           
 AttCertIssuer getIssuer()
           
 org.bouncycastle.asn1.DERBitString getIssuerUniqueID()
           
 List getListOfFQAN()
           
 int getPort()
           
 org.bouncycastle.asn1.DERInteger getSerialNumber()
           
 org.bouncycastle.asn1.x509.AlgorithmIdentifier getSignature()
           
 ACTargets getTargets()
           
 String getVO()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AC_TARGET_OID

public static final String AC_TARGET_OID
See Also:
Constant Field Values

AC_CERTS_OID

public static final String AC_CERTS_OID
See Also:
Constant Field Values

AC_FULL_ATTRIBUTES_OID

public static final String AC_FULL_ATTRIBUTES_OID
See Also:
Constant Field Values

VOMS_EXT_OID

public static final String VOMS_EXT_OID
See Also:
Constant Field Values

VOMS_ATTR_OID

public static final String VOMS_ATTR_OID
See Also:
Constant Field Values
Constructor Detail

AttributeCertificateInfo

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

getInstance

public static AttributeCertificateInfo getInstance(org.bouncycastle.asn1.ASN1Sequence seq)

getAttCertVersion

public org.bouncycastle.asn1.DERInteger getAttCertVersion()

getHolder

public Holder getHolder()

getIssuer

public AttCertIssuer getIssuer()

getSignature

public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSignature()

getSerialNumber

public org.bouncycastle.asn1.DERInteger getSerialNumber()

getAttrCertValidityPeriod

public org.bouncycastle.asn1.x509.AttCertValidityPeriod getAttrCertValidityPeriod()

getAttributes

public org.bouncycastle.asn1.ASN1Sequence getAttributes()

getVO

public String getVO()

getHostPort

public String getHostPort()

getHost

public String getHost()

getPort

public int getPort()

getIssuerUniqueID

public org.bouncycastle.asn1.DERBitString getIssuerUniqueID()

getExtensions

public org.bouncycastle.asn1.x509.X509Extensions getExtensions()

getFullAttributes

public FullAttributes getFullAttributes()

getCertList

public ACCerts getCertList()

getTargets

public ACTargets getTargets()

getFullyQualifiedAttributes

public List getFullyQualifiedAttributes()
Returns:
List of String of the VOMS fully qualified attributes names (FQANs):
vo[/group[/group2...]][/Role=[role]][/Capability=capability]

getListOfFQAN

public List getListOfFQAN()
Returns:
List of FQAN of the VOMS fully qualified attributes names (FQANs)
See Also:
FQAN

getDERObject

public org.bouncycastle.asn1.DERObject getDERObject()
Produce an object suitable for an ASN1OutputStream.



     AttributeCertificateInfo ::= SEQUENCE {
          version              AttCertVersion -- version is v2,
          holder               Holder,
          issuer               AttCertIssuer,
          signature            AlgorithmIdentifier,
          serialNumber         CertificateSerialNumber,
          attrCertValidityPeriod   AttCertValidityPeriod,
          attributes           SEQUENCE OF Attribute,
          issuerUniqueID       UniqueIdentifier OPTIONAL,
          extensions           Extensions OPTIONAL
     }

     AttCertVersion ::= INTEGER { v2(1) }



 

Specified by:
getDERObject in interface org.bouncycastle.asn1.DEREncodable


Copyright © 2013. All Rights Reserved.