Package com.wesabe.grendel.openpgp

Examples of com.wesabe.grendel.openpgp.MasterKey


      final PGPSecretKeyRing keyRing = new PGPSecretKeyRing(keyRingFile);
      keyRingFile.close();
     
      final List<PGPSecretKey> secretKeys = Iterators.toList(keyRing.getSecretKeys());
     
      final MasterKey masterKey = MasterKey.load(secretKeys.get(0));
      this.key = SubKey.load(secretKeys.get(1), masterKey).unlock("test".toCharArray());
    }
View Full Code Here

TOP

Related Classes of com.wesabe.grendel.openpgp.MasterKey

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.