Package org.globus.wsrf.impl.security.authentication.encryption

Examples of org.globus.wsrf.impl.security.authentication.encryption.EncryptionCredentials


        if ((Constants.GSI_SEC_MSG.equals(this.mechanism))  &&
            (Constants.ENCRYPTION.equals(this.protection))) {
            Subject subject = new Subject();
            X509Certificate serverCert =
                CertUtil.loadCertificate(publicKeyFilename);
            EncryptionCredentials encryptionCreds =
                new EncryptionCredentials(new X509Certificate[]
                    { serverCert });
            subject.getPublicCredentials().add(encryptionCreds);
            stub._setProperty(Constants.PEER_SUBJECT, subject);
        }
View Full Code Here

TOP

Related Classes of org.globus.wsrf.impl.security.authentication.encryption.EncryptionCredentials

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.