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

Constants_Compile.AwsKmsEdkHelper Maven / Gradle / Ivy

// Class AwsKmsEdkHelper
// Dafny class AwsKmsEdkHelper compiled into Java
package Constants_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.*;

@SuppressWarnings({"unchecked", "deprecation"})
public class AwsKmsEdkHelper {
  public software.amazon.cryptography.materialproviders.internaldafny.types.EncryptedDataKey _edk;
  public AwsArnParsing_Compile.AwsArn _arn;
  public AwsKmsEdkHelper (software.amazon.cryptography.materialproviders.internaldafny.types.EncryptedDataKey edk, AwsArnParsing_Compile.AwsArn arn) {
    this._edk = edk;
    this._arn = arn;
  }

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

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

  private static final AwsKmsEdkHelper theDefault = Constants_Compile.AwsKmsEdkHelper.create(software.amazon.cryptography.materialproviders.internaldafny.types.EncryptedDataKey.Default(), AwsArnParsing_Compile.AwsArn.Default());
  public static AwsKmsEdkHelper Default() {
    return theDefault;
  }
  public static AwsKmsEdkHelper create(software.amazon.cryptography.materialproviders.internaldafny.types.EncryptedDataKey edk, AwsArnParsing_Compile.AwsArn arn) {
    return new AwsKmsEdkHelper(edk, arn);
  }
  public static AwsKmsEdkHelper create_AwsKmsEdkHelper(software.amazon.cryptography.materialproviders.internaldafny.types.EncryptedDataKey edk, AwsArnParsing_Compile.AwsArn arn) {
    return create(edk, arn);
  }
  public boolean is_AwsKmsEdkHelper() { return true; }
  public software.amazon.cryptography.materialproviders.internaldafny.types.EncryptedDataKey dtor_edk() {
    return this._edk;
  }
  public AwsArnParsing_Compile.AwsArn dtor_arn() {
    return this._arn;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy