code: public KeyOperationResult sign(String keyIdentifier, JsonWebKeySignatureAlgorithm algorithm, byte[] value) {
          KeyIdentifier id = new KeyIdentifier(keyIdentifier);
          return sign(id.vault(), id.name(), id.version() == null ? "" : id.version(), algorithm, value);
      }
docs: Creates a signature from a digest using the specified key.
  
  @param keyIdentifier
  The full key identifier
  @param algorithm
  algorithm identifier
  @param value
  the content to be signed
  @return the KeyOperationResult if successful.