Interface PrivateKeyFactory<PR extends PrivateKey>

    • Method Detail

      • asBinary

        default Binary asBinary​(PR privateKey)
        Parameters:
        privateKey - the PrivateKey to serialize.
        Returns:
        the serialized Binary.
      • asData

        byte[] asData​(PR privateKey)
        Parameters:
        privateKey - the PrivateKey to serialize.
        Returns:
        the serialized binary data.
      • createPrivateKey

        PR createPrivateKey​(byte[] data)
        Parameters:
        data - the PrivateKey as raw byte array.
        Returns:
        the deserialized PrivateKey.