public class DraftRFCProxyCertInfoExtension extends ProxyCertInfoExtension
 ProxyCertInfoExtension ::= SEQUENCE { 
          proxyPolicy            ProxyPolicy,
          pCPathLenConstraint    [1] EXPLICIT ProxyCertPathLengthConstraint OPTIONAL }
  
     ProxyCertPathLengthConstraint ::= INTEGER
 | Modifier and Type | Field and Description | 
|---|---|
static String | 
DRAFT_EXTENSION_OID
The oid of the rfc draft proxy cert extension. 
 | 
pathLen, policy| Constructor and Description | 
|---|
DraftRFCProxyCertInfoExtension()
Generate a proxy that inherits all rights and that has no cert path
 length limitations. 
 | 
DraftRFCProxyCertInfoExtension(ASN1Sequence seq)
Read a proxyCertInfoExtension from the ASN1 sequence. 
 | 
DraftRFCProxyCertInfoExtension(byte[] bytes)
Constructor that generates instance out of byte array. 
 | 
DraftRFCProxyCertInfoExtension(int pathLen,
                              ProxyPolicy policy)
Generate new proxy certificate info extension with length limit len
 and policy policy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ASN1Primitive | 
toASN1Primitive()  | 
getInstance, getPolicy, getProxyPathLimitequals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectpublic static final String DRAFT_EXTENSION_OID
public DraftRFCProxyCertInfoExtension(int pathLen,
                                      ProxyPolicy policy)
pathLen - the maximum number of proxy certificates to follow
                this one. If -1 is used then no limit will be set.policy - the proxy policy extension.public DraftRFCProxyCertInfoExtension()
public DraftRFCProxyCertInfoExtension(byte[] bytes)
                               throws IOException
bytes - The byte array to consider as the ASN.1 encoded
                proxyCertInfo extension.IOException - thrown in case the parsing of the byte array fails.public DraftRFCProxyCertInfoExtension(ASN1Sequence seq) throws IOException
seq - The sequence containing the extension.IOException - IO exceptionpublic ASN1Primitive toASN1Primitive()
toASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1ObjectCopyright © 2012-2017 European Middleware Initiative. All Rights Reserved.