Uses of Class
org.globus.gsi.GSIConstants.CertificateType
-
Packages that use GSIConstants.CertificateType Package Description org.globus.gsi This package conatins the basic security constructs used to build Globus security.org.globus.gsi.bc org.globus.gsi.trustmanager org.globus.gsi.util org.globus.tools Contains higher-level components which utilize the jGlobus library. -
-
Uses of GSIConstants.CertificateType in org.globus.gsi
Methods in org.globus.gsi that return GSIConstants.CertificateType Modifier and Type Method Description static GSIConstants.CertificateType
GSIConstants.CertificateType. get(int code)
GSIConstants.CertificateType
X509Credential. getProxyType()
Returns the certificate type of the first certificate in the chain.static GSIConstants.CertificateType
GSIConstants.CertificateType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GSIConstants.CertificateType[]
GSIConstants.CertificateType. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of GSIConstants.CertificateType in org.globus.gsi.bc
Methods in org.globus.gsi.bc that return GSIConstants.CertificateType Modifier and Type Method Description static GSIConstants.CertificateType
BouncyCastleCertProcessingFactory. decideProxyType(java.security.cert.X509Certificate issuerCert, GSIConstants.DelegationType delegType)
Given a delegation mode and an issuing certificate, decides an appropriate certificate type to use for proxiesstatic GSIConstants.CertificateType
BouncyCastleUtil. getCertificateType(java.security.cert.X509Certificate cert)
Returns certificate type of the given certificate.static GSIConstants.CertificateType
BouncyCastleUtil. getCertificateType(java.security.cert.X509Certificate cert, java.security.cert.CertStore trustedCerts)
Returns the certificate type of the given certificate.static GSIConstants.CertificateType
BouncyCastleUtil. getCertificateType(java.security.cert.X509Certificate cert, TrustedCertificates trustedCerts)
Deprecated.private static GSIConstants.CertificateType
BouncyCastleUtil. getCertificateType(org.bouncycastle.asn1.x509.TBSCertificateStructure crt)
Returns certificate type of the given TBS certificate.static GSIConstants.CertificateType
BouncyCastleUtil. getCertificateType(org.bouncycastle.asn1.x509.TBSCertificateStructure crt, TrustedCertificates trustedCerts)
Methods in org.globus.gsi.bc with parameters of type GSIConstants.CertificateType Modifier and Type Method Description java.security.cert.X509Certificate
BouncyCastleCertProcessingFactory. createCertificate(java.io.InputStream certRequestInputStream, java.security.cert.X509Certificate cert, java.security.PrivateKey privateKey, int lifetime, GSIConstants.CertificateType certType)
Creates a proxy certificate from the certificate request.java.security.cert.X509Certificate
BouncyCastleCertProcessingFactory. createCertificate(java.io.InputStream certRequestInputStream, java.security.cert.X509Certificate cert, java.security.PrivateKey privateKey, int lifetime, GSIConstants.CertificateType certType, X509ExtensionSet extSet)
Creates a proxy certificate from the certificate request.java.security.cert.X509Certificate
BouncyCastleCertProcessingFactory. createCertificate(java.io.InputStream certRequestInputStream, java.security.cert.X509Certificate cert, java.security.PrivateKey privateKey, int lifetime, GSIConstants.CertificateType certType, X509ExtensionSet extSet, java.lang.String cnValue)
Creates a proxy certificate from the certificate request.X509Credential
BouncyCastleCertProcessingFactory. createCredential(java.security.cert.X509Certificate[] certs, java.security.PrivateKey privateKey, int bits, int lifetime, GSIConstants.CertificateType certType)
Creates a new proxy credential from the specified certificate chain and a private key.X509Credential
BouncyCastleCertProcessingFactory. createCredential(java.security.cert.X509Certificate[] certs, java.security.PrivateKey privateKey, int bits, int lifetime, GSIConstants.CertificateType certType, X509ExtensionSet extSet)
Creates a new proxy credential from the specified certificate chain and a private key.X509Credential
BouncyCastleCertProcessingFactory. createCredential(java.security.cert.X509Certificate[] certs, java.security.PrivateKey privateKey, int bits, int lifetime, GSIConstants.CertificateType certType, X509ExtensionSet extSet, java.lang.String cnValue)
Creates a new proxy credential from the specified certificate chain and a private key.java.security.cert.X509Certificate
BouncyCastleCertProcessingFactory. createProxyCertificate(java.security.cert.X509Certificate issuerCert_, java.security.PrivateKey issuerKey, java.security.PublicKey publicKey, int lifetime, GSIConstants.CertificateType certType, X509ExtensionSet extSet, java.lang.String cnValue)
Creates a proxy certificate. -
Uses of GSIConstants.CertificateType in org.globus.gsi.trustmanager
Methods in org.globus.gsi.trustmanager that return GSIConstants.CertificateType Modifier and Type Method Description private GSIConstants.CertificateType
X509ProxyCertPathValidator. getCertificateType(org.bouncycastle.asn1.x509.TBSCertificateStructure issuerTbsCert)
Methods in org.globus.gsi.trustmanager with parameters of type GSIConstants.CertificateType Modifier and Type Method Description private void
X509ProxyCertPathValidator. checkCertificate(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType)
private void
X509ProxyCertPathValidator. checkProxyConstraints(java.security.cert.CertPath certPath, java.security.cert.X509Certificate cert, org.bouncycastle.asn1.x509.TBSCertificateStructure tbsCert, GSIConstants.CertificateType certType, org.bouncycastle.asn1.x509.TBSCertificateStructure issuerTbsCert, int i)
void
CertificateChecker. invoke(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType)
Validate the certificate.void
CRLChecker. invoke(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType)
Method that checks the if the certificate is in a CRL, if CRL is available If no CRL is found, then no error is thrown If an expired CRL is found, an error is thrownvoid
DateValidityChecker. invoke(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType)
Method that checks the time validity.void
IdentityChecker. invoke(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType)
Method that sets the identity of the certificate path.void
SigningPolicyChecker. invoke(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType)
Validate DN against the signing policyvoid
UnsupportedCriticalExtensionChecker. invoke(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType)
Method that checks if there are unsupported critical extension.private void
UnsupportedCriticalExtensionChecker. isUnsupported(GSIConstants.CertificateType certType, java.lang.String criticalExtensionOid)
private boolean
SigningPolicyChecker. requireSigningPolicyCheck(GSIConstants.CertificateType certType)
if a certificate is not a CA or if it is not a proxy, return true.private int
X509ProxyCertPathValidator. validateCert(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType, java.security.cert.X509Certificate issuerCert, org.bouncycastle.asn1.x509.TBSCertificateStructure issuerTbsCert, GSIConstants.CertificateType issuerCertType, int proxyDepth, int i, boolean certIsProxy)
private void
X509ProxyCertPathValidator. validateEECCert(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType, java.security.cert.X509Certificate issuerCert)
private int
X509ProxyCertPathValidator. validateGsi2ProxyCert(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType, java.security.cert.X509Certificate issuerCert, int proxyDepth)
private int
X509ProxyCertPathValidator. validateGsiProxyCert(java.security.cert.X509Certificate cert, GSIConstants.CertificateType certType, java.security.cert.X509Certificate issuerCert, org.bouncycastle.asn1.x509.TBSCertificateStructure issuerTbsCert, GSIConstants.CertificateType issuerCertType, int proxyDepth)
-
Uses of GSIConstants.CertificateType in org.globus.gsi.util
Methods in org.globus.gsi.util that return GSIConstants.CertificateType Modifier and Type Method Description static GSIConstants.CertificateType
CertificateUtil. getCertificateType(org.bouncycastle.asn1.x509.TBSCertificateStructure crt)
Returns certificate type of the given TBS certificate.private static GSIConstants.CertificateType
CertificateUtil. processCN(org.bouncycastle.asn1.x509.X509Extensions extensions, GSIConstants.CertificateType type, org.bouncycastle.asn1.ASN1Sequence ava)
private static GSIConstants.CertificateType
CertificateUtil. processCriticalExtension(org.bouncycastle.asn1.x509.X509Extension ext, boolean gsi4)
Methods in org.globus.gsi.util with parameters of type GSIConstants.CertificateType Modifier and Type Method Description static java.lang.String
ProxyCertificateUtil. getProxyTypeAsString(GSIConstants.CertificateType proxyType)
Returns a string description of a specified proxy type.static boolean
ProxyCertificateUtil. isGsi2Proxy(GSIConstants.CertificateType certType)
Determines if a specified certificate type indicates a GSI-2 proxy certificate.static boolean
ProxyCertificateUtil. isGsi3Proxy(GSIConstants.CertificateType certType)
Determines if a specified certificate type indicates a GSI-3 proxy certificate.static boolean
ProxyCertificateUtil. isGsi4Proxy(GSIConstants.CertificateType certType)
Determines if a specified certificate type indicates a GSI-4 proxy certificate.static boolean
ProxyCertificateUtil. 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
ProxyCertificateUtil. isIndependentProxy(GSIConstants.CertificateType certType)
Determines if a specified certificate type indicates a GSI-3 or GS-4 limited proxy certificate.static boolean
ProxyCertificateUtil. 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
ProxyCertificateUtil. isProxy(GSIConstants.CertificateType certType)
Determines if a specified certificate type indicates a GSI-2, GSI-3 or GSI-4proxy certificate.private static GSIConstants.CertificateType
CertificateUtil. processCN(org.bouncycastle.asn1.x509.X509Extensions extensions, GSIConstants.CertificateType type, org.bouncycastle.asn1.ASN1Sequence ava)
-
Uses of GSIConstants.CertificateType in org.globus.tools
Fields in org.globus.tools declared as GSIConstants.CertificateType Modifier and Type Field Description protected GSIConstants.CertificateType
ProxyInit. proxyType
Methods in org.globus.tools with parameters of type GSIConstants.CertificateType Modifier and Type Method Description void
ProxyInit. setProxyType(GSIConstants.CertificateType proxyType)
-