public final class ProxyCertificateUtil extends Object
Modifier and Type | Method and Description |
---|---|
static ProxyCertInfo |
getProxyCertInfo(org.bouncycastle.asn1.x509.TBSCertificateStructure crt) |
static ProxyCertInfo |
getProxyCertInfo(org.bouncycastle.asn1.x509.X509Extension ext) |
static int |
getProxyPathConstraint(org.bouncycastle.asn1.x509.TBSCertificateStructure crt) |
static String |
getProxyTypeAsString(GSIConstants.CertificateType proxyType)
Returns a string description of a specified proxy
type.
|
static boolean |
isGsi2Proxy(GSIConstants.CertificateType certType)
Determines if a specified certificate type indicates a GSI-2 proxy
certificate.
|
static boolean |
isGsi3Proxy(GSIConstants.CertificateType certType)
Determines if a specified certificate type indicates a GSI-3 proxy
certificate.
|
static boolean |
isGsi4Proxy(GSIConstants.CertificateType certType)
Determines if a specified certificate type indicates a GSI-4 proxy
certificate.
|
static boolean |
isImpersonationProxy(GSIConstants.CertificateType certType)
Determines if a specified certificate type indicates a GSI-2 or GSI-3 or
GSI-4 impersonation proxy certificate.
|
static boolean |
isIndependentProxy(GSIConstants.CertificateType certType)
Determines if a specified certificate type indicates a GSI-3 or GS-4
limited proxy certificate.
|
static boolean |
isLimitedProxy(GSIConstants.CertificateType certType)
Determines if a specified certificate type indicates a GSI-2 or GSI-3 or
GSI=4 limited proxy certificate.
|
static boolean |
isProxy(GSIConstants.CertificateType certType)
Determines if a specified certificate type indicates a GSI-2, GSI-3 or
GSI-4proxy certificate.
|
public static boolean isProxy(GSIConstants.CertificateType certType)
certType
- the certificate type to check.public static boolean isGsi4Proxy(GSIConstants.CertificateType certType)
certType
- the certificate type to check.public static boolean isGsi3Proxy(GSIConstants.CertificateType certType)
certType
- the certificate type to check.public static boolean isGsi2Proxy(GSIConstants.CertificateType certType)
certType
- the certificate type to check.public static boolean isLimitedProxy(GSIConstants.CertificateType certType)
certType
- the certificate type to check.public static boolean isIndependentProxy(GSIConstants.CertificateType certType)
certType
- the certificate type to check.public static boolean isImpersonationProxy(GSIConstants.CertificateType certType)
certType
- the certificate type to check.public static int getProxyPathConstraint(org.bouncycastle.asn1.x509.TBSCertificateStructure crt) throws IOException
IOException
public static ProxyCertInfo getProxyCertInfo(org.bouncycastle.asn1.x509.TBSCertificateStructure crt) throws IOException
IOException
public static ProxyCertInfo getProxyCertInfo(org.bouncycastle.asn1.x509.X509Extension ext)
public static String getProxyTypeAsString(GSIConstants.CertificateType proxyType)
proxyType
- the proxy type to get the string
description of.Copyright © 2016. All rights reserved.