Interface PublicKeyIdentity

    • Method Detail

      • getPublicKey

        java.security.PublicKey getPublicKey()
        Returns:
        The PublicKey identity value
      • sign

        byte[] sign​(SessionContext session,
                    byte[] data)
             throws java.lang.Exception
        Proves the public key identity by signing the given data
        Parameters:
        session - The SessionContext for calling this method - may be null if not called within a session context
        data - Data to sign
        Returns:
        Signed data - using the identity
        Throws:
        java.lang.Exception - If failed to sign the data