All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.interledger.crypto.CryptoKey Maven / Gradle / Ivy

Go to download

Encryption, decryption, signing and verification services using various underlying key-stores.

The newest version!
package org.interledger.crypto;

import org.immutables.value.Value;

/**
 * Lookup info for a key that a connector will use. Mainly to capture key alias/version/etc from config.
 */
@Value.Immutable
public interface CryptoKey {

  static ImmutableCryptoKey.Builder builder() {
    return ImmutableCryptoKey.builder();
  }

  /**
   * Key alias
   * @return alias
   */
  String alias();

  /**
   * key version
   * @return version
   */
  String version();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy