Class Keyring


  • public class Keyring
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Keyring()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long getKeyID​(java.lang.String keyName)
      Get Key ID from keyname
      static java.lang.String getPassword​(java.lang.String keyName, java.lang.String output_format)
      Get password from keyring
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Keyring

        public Keyring()
    • Method Detail

      • getKeyID

        public static long getKeyID​(java.lang.String keyName)
        Get Key ID from keyname
        Parameters:
        keyName - Name of the key
        Returns:
        Key ID
      • getPassword

        public static java.lang.String getPassword​(java.lang.String keyName,
                                                   java.lang.String output_format)
                                            throws java.lang.IllegalArgumentException
        Get password from keyring
        Parameters:
        keyName - Name of the key
        output_format - Output format
        Returns:
        Value of the key available in keyring
        Throws:
        java.lang.IllegalArgumentException