|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--iaik.x509.attr.V1Form
This class implements the AC type V1Form
.
The
Internet Attribute Certificate Profile for Authorization
(RFC 3281) specifies the V1Form
type as NOT TO BE USED option for
identifying the issuer
of
an attribute certificate (entity who signs the attribute certificate):
AttCertIssuer ::= CHOICE { v1Form GeneralNames, -- MUST NOT be used in this -- profile v2Form [0] V2Form -- v2 only }Attribute certifcates conforming to the Internet Attribute Certificate Profile for Authorization presented in RFC 3281 are not allowed to use the V1Form choice for representing the issuer. They must use the
V2Form
choice.
AttributeCertificate
,
IssuerSerial
,
ObjectDigestInfo
,
AlgorithmID
,
V2Form
Fields inherited from interface iaik.x509.attr.AttCertIssuer |
V1_FORM, V2_FORM |
Constructor Summary | |
V1Form(ASN1Object obj)
Creates a V1Form from its ASN.1 representation. |
|
V1Form(GeneralNames generalNames)
Creates a V1Form from the given GeneralNames. |
|
V1Form(Name issuerName)
Creates a V1Form for the given issuer name. |
Method Summary | |
void |
decode(ASN1Object obj)
Decodes a V1Form from its ASN.1 representation. |
boolean |
equals(Object obj)
Compares this V1Form to the specified object. |
GeneralNames |
getGeneralNames()
Gets the GeneralNames of this V1Form. |
int |
getVForm()
Returns 1 (v1Form -- the version this AttcertIssuer represents). |
int |
hashCode()
Returns a hashcode for this V1Form. |
boolean |
isV1FormFor(Name issuerName)
Checks if this V1Form represents the given issuerName. |
ASN1Object |
toASN1Object()
Returns this V1Form as ASN1Object. |
String |
toString()
Returns a string giving some information about this V1Form object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public V1Form(GeneralNames generalNames)
generalNames
- the GeneralNames identifying the AC issuerpublic V1Form(Name issuerName)
A GeneralName for the given directoryName is internally created.
issuerNames
- the name of the AC issuerpublic V1Form(ASN1Object obj) throws CodingException
obj
- the V1Form as ASN1ObjectCodingException
- if an decoding/parsing error occursMethod Detail |
public GeneralNames getGeneralNames()
public ASN1Object toASN1Object()
toASN1Object
in interface AttCertIssuer
public void decode(ASN1Object obj) throws CodingException
decode
in interface AttCertIssuer
obj
- the V1Form as ASN1ObjectCodingException
- if an decoding/parsing error occurspublic boolean equals(Object obj)
V1Form
to the specified object.equals
in interface AttCertIssuer
equals
in class Object
obj
- the object to compare this V1Form
against.true
, if the given object is equal to this
V1Form
,
false
otherwisepublic boolean isV1FormFor(Name issuerName)
true
if this is a V1Form for the given
issuer name, false
if notpublic int hashCode()
hashCode
in interface AttCertIssuer
hashCode
in class Object
public int getVForm()
getVForm
in interface AttCertIssuer
public String toString()
V1Form
object.toString
in interface AttCertIssuer
toString
in class Object
|
This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |