@Test public void testToGlobusIdForString() { String dn = CertificateUtil.toGlobusID("DC=org, DC=DOEGrids, OU=Certificate Authorities, CN=DOEGrids CA 1", true); assertThat(dn, is("/DC=org/DC=DOEGrids/OU=Certificate Authorities/CN=DOEGrids CA 1")); }
public static String toGlobusID(String dn) { return toGlobusID(dn, true); }
CertificateUtil { public static String toGlobusID(String dn) { return toGlobusID(dn, true); } }
CertificateUtil { public static String toGlobusID(String dn) { return toGlobusID(dn, true); } private  CertificateUtil(); }
CertificateUtil { public static String toGlobusID(String dn) { return toGlobusID(dn, true); } private  CertificateUtil(); static void init(); static void setProvider(String providerName); static void installSecureRandomProvider(); static int getCAPathConstraint(TBSCertificateStructure crt); static KeyPair generateKeyPair(String algorithm, int bits); static GSIConstants.CertificateType getCertificateType(
            TBSCertificateStructure crt); static BasicConstraints getBasicConstraints(X509Extension ext); static ASN1Primitive toASN1Primitive(byte[] data); static TBSCertificateStructure getTBSCertificateStructure(
            X509Certificate cert); static EnumSet<KeyUsage> getKeyUsage(TBSCertificateStructure crt); static EnumSet<KeyUsage> getKeyUsage(X509Extension ext); static ASN1Primitive getExtensionObject(X509Extension ext); static String toGlobusID(String dn); static String toGlobusID(String dn, boolean noreverse); static String toGlobusID(Principal name); static String toGlobusID(X500Principal principal); static X500Principal toPrincipal(String globusID); static CertPath getCertPath(X509Certificate[] certs); }
CertificateUtil { public static String toGlobusID(String dn) { return toGlobusID(dn, true); } private  CertificateUtil(); static void init(); static void setProvider(String providerName); static void installSecureRandomProvider(); static int getCAPathConstraint(TBSCertificateStructure crt); static KeyPair generateKeyPair(String algorithm, int bits); static GSIConstants.CertificateType getCertificateType(
            TBSCertificateStructure crt); static BasicConstraints getBasicConstraints(X509Extension ext); static ASN1Primitive toASN1Primitive(byte[] data); static TBSCertificateStructure getTBSCertificateStructure(
            X509Certificate cert); static EnumSet<KeyUsage> getKeyUsage(TBSCertificateStructure crt); static EnumSet<KeyUsage> getKeyUsage(X509Extension ext); static ASN1Primitive getExtensionObject(X509Extension ext); static String toGlobusID(String dn); static String toGlobusID(String dn, boolean noreverse); static String toGlobusID(Principal name); static String toGlobusID(X500Principal principal); static X500Principal toPrincipal(String globusID); static CertPath getCertPath(X509Certificate[] certs);  }