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(org.bouncycastle.asn1.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 |
|---|---|
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
getInstance, getPolicy, getProxyPathLimitpublic 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(org.bouncycastle.asn1.ASN1Sequence seq)
throws IOException
seq - The sequence containing the extension.IOException - IO exceptionCopyright © 2012–2016 European Middleware Initiative. All rights reserved.