public class RFCProxyCertInfoExtension extends ProxyCertInfoExtension
ProxyCertInfoExtension ::= SEQUENCE {
pCPathLenConstraint ProxyCertPathLengthConstraint OPTIONAL,
proxyPolicy ProxyPolicy }
ProxyCertPathLengthConstraint ::= INTEGER
| Modifier and Type | Field and Description |
|---|---|
static String |
RFC_EXTENSION_OID
The oid of the proxy cert info extension, defined in the RFC 3820.
|
pathLen, policy| Constructor and Description |
|---|
RFCProxyCertInfoExtension()
Generate a proxy that inherits all rights and that has no cert path
length limitations.
|
RFCProxyCertInfoExtension(ASN1Sequence seq)
Read a proxyCertInfoExtension from the ASN1 sequence.
|
RFCProxyCertInfoExtension(byte[] bytes)
Constructor that generates instance out of byte array.
|
RFCProxyCertInfoExtension(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 RFC_EXTENSION_OID
public RFCProxyCertInfoExtension(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 RFCProxyCertInfoExtension()
public RFCProxyCertInfoExtension(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 RFCProxyCertInfoExtension(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.