Interface KeyProvider

    • Method Summary

      Modifier and Type Method Description
      java.security.PrivateKey getPrivate()  
      java.security.PublicKey getPublic()  
      KeyType getType()  
    • Method Detail

      • getPrivate

        java.security.PrivateKey getPrivate()
                                     throws java.io.IOException
        Returns:
        the private key.
        Throws:
        java.io.IOException - if there is an I/O error retrieving the private key
      • getPublic

        java.security.PublicKey getPublic()
                                   throws java.io.IOException
        Returns:
        the public key.
        Throws:
        java.io.IOException - if there is an I/O error retrieving the public key
      • getType

        KeyType getType()
                 throws java.io.IOException
        Returns:
        the KeyType.
        Throws:
        java.io.IOException - if there is an I/O error retrieving the key type