|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.gsi.proxy.ext.ProxyCertInfo
Represents ProxyCertInfo extension.
ProxyCertInfo ::= SEQUENCE {
pCPathLenConstraint INTEGER (0..MAX) OPTIONAL,
proxyPolicy ProxyPolicy }
| Field Summary | |
static DERObjectIdentifier |
OID
ProxyCertInfo extension OID |
static DERObjectIdentifier |
OLD_OID
|
| Constructor Summary | |
ProxyCertInfo(ASN1Sequence seq)
Creates a new instance of the ProxyCertInfo extension from given ASN1Sequence object. |
|
ProxyCertInfo(int pathLenConstraint,
ProxyPolicy policy)
Creates a new instance of the ProxyCertInfo extension. |
|
ProxyCertInfo(ProxyPolicy policy)
Creates a new instance of the ProxyCertInfo extension with no path length constraint. |
|
| Method Summary | |
DERObject |
getDERObject()
Returns the DER-encoded ASN.1 representation of the extension. |
static ProxyCertInfo |
getInstance(Object obj)
Returns an instance of ProxyCertInfo from
given object. |
int |
getPathLenConstraint()
Returns the maximum depth of the path of proxy certificates that can be signed by this proxy certificate. |
ProxyPolicy |
getProxyPolicy()
Returns the policy object in the proxy. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final DERObjectIdentifier OID
public static final DERObjectIdentifier OLD_OID
| Constructor Detail |
public ProxyCertInfo(ASN1Sequence seq)
seq - ASN1Sequence object to create the instance from.
public ProxyCertInfo(int pathLenConstraint,
ProxyPolicy policy)
pathLenConstraint - the path length constraint of the
extension.policy - the policy of the extension.public ProxyCertInfo(ProxyPolicy policy)
policy - the policy of the extension.| Method Detail |
public static ProxyCertInfo getInstance(Object obj)
ProxyCertInfo from
given object.
obj - the object to create the instance from.
ProxyCertInfo instance.
IllegalArgumentException - if unable to
convert the object to ProxyCertInfo
instance.public DERObject getDERObject()
getDERObject in interface DEREncodableDERObject the encoded representation
of the extension.public ProxyPolicy getProxyPolicy()
ProxyPolicy the policy objectpublic int getPathLenConstraint()
Integer.MAX_VALUE is returned.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||