public abstract class ProxyCertInfoExtension extends ASN1Object
DraftRFCProxyCertInfoExtension
and RFCProxyCertInfoExtension
as the ASN syntax is
different for both types of proxies.Modifier and Type | Field and Description |
---|---|
protected int |
pathLen
The sub proxy path length, default is not limited.
|
protected ProxyPolicy |
policy
The underlying policy object.
|
Constructor and Description |
---|
ProxyCertInfoExtension() |
Modifier and Type | Method and Description |
---|---|
static ProxyCertInfoExtension |
getInstance(X509Certificate cert)
Tries to generate
ProxyCertInfoExtension object from the
provided certificate. |
ProxyPolicy |
getPolicy()
Get the policy object of this extension.
|
int |
getProxyPathLimit()
Get the proxy certificate path length limit of this extension, if
set.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object, toASN1Primitive
protected int pathLen
protected ProxyPolicy policy
public static ProxyCertInfoExtension getInstance(X509Certificate cert) throws IOException
ProxyCertInfoExtension
object from the
provided certificate. Returns null if the certificate has no proxy extension
(draft or rfc).cert
- certificateIOException
- IO exceptionpublic int getProxyPathLimit()
public ProxyPolicy getPolicy()
Copyright © 2012-2017 European Middleware Initiative. All Rights Reserved.