|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.security.voms.ac.AttributeCertificate
public class AttributeCertificate
Constructor Summary | |
---|---|
AttributeCertificate(org.bouncycastle.asn1.ASN1Sequence seq)
Deprecated. |
Method Summary | |
---|---|
AttributeCertificateInfo |
getAcinfo()
Deprecated. |
org.bouncycastle.asn1.ASN1Sequence |
getAttributes()
Deprecated. |
java.util.List |
getAttributes(java.lang.String oid)
Deprecated. Returns a list of the attributes matching the provided OID. |
org.bouncycastle.asn1.DERObject |
getDERObject()
Deprecated. Produce an object suitable for an ASN1OutputStream. |
org.bouncycastle.asn1.x509.X509Extensions |
getExtensions()
Deprecated. |
Holder |
getHolder()
Deprecated. |
static AttributeCertificate |
getInstance(java.io.InputStream in)
Deprecated. Create an Attribute Certificate from a input stream containing DER-encoded data |
javax.security.auth.x500.X500Principal |
getIssuer()
Deprecated. |
java.util.Date |
getNotAfter()
Deprecated. |
java.util.Date |
getNotBefore()
Deprecated. |
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getSignatureAlgorithm()
Deprecated. |
org.bouncycastle.asn1.DERBitString |
getSignatureValue()
Deprecated. |
boolean |
isValid()
Deprecated. Synonym for validAt(null) |
boolean |
validAt(java.util.Date date)
Deprecated. Checks if the AC was valid at the provided timestamp. |
boolean |
verify(java.security.PublicKey key)
Deprecated. Verifies the signature of the AC using the provided signature key |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeCertificate(org.bouncycastle.asn1.ASN1Sequence seq) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public static AttributeCertificate getInstance(java.io.InputStream in) throws java.io.IOException
in
-
java.io.IOException
public AttributeCertificateInfo getAcinfo()
public org.bouncycastle.asn1.ASN1Sequence getAttributes()
AttributeCertificateInfo.getAttributes()
public java.util.List getAttributes(java.lang.String oid)
oid
- Object Identifier, on the form "1.2.3.4"
public org.bouncycastle.asn1.x509.X509Extensions getExtensions()
public javax.security.auth.x500.X500Principal getIssuer()
public Holder getHolder()
public java.util.Date getNotAfter() throws java.text.ParseException
java.text.ParseException
public java.util.Date getNotBefore() throws java.text.ParseException
java.text.ParseException
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getSignatureAlgorithm()
public org.bouncycastle.asn1.DERBitString getSignatureValue()
public boolean validAt(java.util.Date date)
date
- if null
, current time is used
public boolean isValid()
validAt(null)
public boolean verify(java.security.PublicKey key)
key
- The (RSA) public key to verify the signature with
true
if success, false
otherwisepublic org.bouncycastle.asn1.DERObject getDERObject()
AttributeCertificate ::= SEQUENCE { acinfo AttributeCertificateInfo, signatureAlgorithm AlgorithmIdentifier, signatureValue BIT STRING }
getDERObject
in interface org.bouncycastle.asn1.DEREncodable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |