Class CompositePrivateKey

    • Constructor Detail

      • CompositePrivateKey

        public CompositePrivateKey​(PrivateKey... keys)
        Create a composite key containing a single private key.
        Parameters:
        keys - the private keys the composite private key wraps.
    • Method Detail

      • getPrivateKeys

        public List<PrivateKey> getPrivateKeys()
        Return a list of the component private keys making up this composite.
        Returns:
        an immutable list of private keys.
      • getEncoded

        public byte[] getEncoded()
        Specified by:
        getEncoded in interface Key
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object