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

MaterialWrapping_Compile.GenerateAndWrapInput Maven / Gradle / Ivy

// Class GenerateAndWrapInput
// Dafny class GenerateAndWrapInput compiled into Java
package MaterialWrapping_Compile;

import software.amazon.cryptography.keystore.internaldafny.types.*;
import software.amazon.cryptography.materialproviders.internaldafny.types.*;
import AwsArnParsing_Compile.*;
import AwsKmsMrkMatchForDecrypt_Compile.*;
import AwsKmsUtils_Compile.*;
import KeyStoreErrorMessages_Compile.*;
import KmsArn_Compile.*;
import Structure_Compile.*;
import KMSKeystoreOperations_Compile.*;
import DDBKeystoreOperations_Compile.*;
import CreateKeys_Compile.*;
import CreateKeyStoreTable_Compile.*;
import GetKeys_Compile.*;
import AwsCryptographyKeyStoreOperations_Compile.*;
import software.amazon.cryptography.keystore.internaldafny.*;
import AlgorithmSuites_Compile.*;
import Materials_Compile.*;
import Keyring_Compile.*;
import MultiKeyring_Compile.*;
import AwsKmsMrkAreUnique_Compile.*;
import Constants_Compile.*;

@SuppressWarnings({"unchecked", "deprecation"})
public class GenerateAndWrapInput {
  public software.amazon.cryptography.materialproviders.internaldafny.types.AlgorithmSuiteInfo _algorithmSuite;
  public dafny.DafnyMap, ? extends dafny.DafnySequence> _encryptionContext;
  public GenerateAndWrapInput (software.amazon.cryptography.materialproviders.internaldafny.types.AlgorithmSuiteInfo algorithmSuite, dafny.DafnyMap, ? extends dafny.DafnySequence> encryptionContext) {
    this._algorithmSuite = algorithmSuite;
    this._encryptionContext = encryptionContext;
  }

  @Override
  public boolean equals(Object other) {
    if (this == other) return true;
    if (other == null) return false;
    if (getClass() != other.getClass()) return false;
    GenerateAndWrapInput o = (GenerateAndWrapInput)other;
    return true && java.util.Objects.equals(this._algorithmSuite, o._algorithmSuite) && java.util.Objects.equals(this._encryptionContext, o._encryptionContext);
  }
  @Override
  public int hashCode() {
    long hash = 5381;
    hash = ((hash << 5) + hash) + 0;
    hash = ((hash << 5) + hash) + java.util.Objects.hashCode(this._algorithmSuite);
    hash = ((hash << 5) + hash) + java.util.Objects.hashCode(this._encryptionContext);
    return (int)hash;
  }

  @Override
  public String toString() {
    StringBuilder s = new StringBuilder();
    s.append("MaterialWrapping.GenerateAndWrapInput.GenerateAndWrapInput");
    s.append("(");
    s.append(dafny.Helpers.toString(this._algorithmSuite));
    s.append(", ");
    s.append(dafny.Helpers.toString(this._encryptionContext));
    s.append(")");
    return s.toString();
  }
  private static final dafny.TypeDescriptor _TYPE = dafny.TypeDescriptor.referenceWithInitializer(GenerateAndWrapInput.class, () -> GenerateAndWrapInput.Default());
  public static dafny.TypeDescriptor _typeDescriptor() {
    return (dafny.TypeDescriptor) (dafny.TypeDescriptor) _TYPE;
  }

  private static final GenerateAndWrapInput theDefault = MaterialWrapping_Compile.GenerateAndWrapInput.create(software.amazon.cryptography.materialproviders.internaldafny.types.AlgorithmSuiteInfo.Default(), dafny.DafnyMap.,dafny.DafnySequence> empty());
  public static GenerateAndWrapInput Default() {
    return theDefault;
  }
  public static GenerateAndWrapInput create(software.amazon.cryptography.materialproviders.internaldafny.types.AlgorithmSuiteInfo algorithmSuite, dafny.DafnyMap, ? extends dafny.DafnySequence> encryptionContext) {
    return new GenerateAndWrapInput(algorithmSuite, encryptionContext);
  }
  public static GenerateAndWrapInput create_GenerateAndWrapInput(software.amazon.cryptography.materialproviders.internaldafny.types.AlgorithmSuiteInfo algorithmSuite, dafny.DafnyMap, ? extends dafny.DafnySequence> encryptionContext) {
    return create(algorithmSuite, encryptionContext);
  }
  public boolean is_GenerateAndWrapInput() { return true; }
  public software.amazon.cryptography.materialproviders.internaldafny.types.AlgorithmSuiteInfo dtor_algorithmSuite() {
    return this._algorithmSuite;
  }
  public dafny.DafnyMap, ? extends dafny.DafnySequence> dtor_encryptionContext() {
    return this._encryptionContext;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy