Enumerations

The following enumerations are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSErrorType) {
        AWSKMSErrorUnknown,
        AWSKMSErrorAlreadyExists,
        AWSKMSErrorCloudHsmClusterInUse,
        AWSKMSErrorCloudHsmClusterInvalidConfiguration,
        AWSKMSErrorCloudHsmClusterNotActive,
        AWSKMSErrorCloudHsmClusterNotFound,
        AWSKMSErrorCloudHsmClusterNotRelated,
        AWSKMSErrorCustomKeyStoreHasCMKs,
        AWSKMSErrorCustomKeyStoreInvalidState,
        AWSKMSErrorCustomKeyStoreNameInUse,
        AWSKMSErrorCustomKeyStoreNotFound,
        AWSKMSErrorDependencyTimeout,
        AWSKMSErrorDisabled,
        AWSKMSErrorExpiredImportToken,
        AWSKMSErrorIncorrectKey,
        AWSKMSErrorIncorrectKeyMaterial,
        AWSKMSErrorIncorrectTrustAnchor,
        AWSKMSErrorInvalidAliasName,
        AWSKMSErrorInvalidArn,
        AWSKMSErrorInvalidCiphertext,
        AWSKMSErrorInvalidGrantId,
        AWSKMSErrorInvalidGrantToken,
        AWSKMSErrorInvalidImportToken,
        AWSKMSErrorInvalidKeyUsage,
        AWSKMSErrorInvalidMarker,
        AWSKMSErrorKMSInternal,
        AWSKMSErrorKMSInvalidSignature,
        AWSKMSErrorKMSInvalidState,
        AWSKMSErrorKeyUnavailable,
        AWSKMSErrorLimitExceeded,
        AWSKMSErrorMalformedPolicyDocument,
        AWSKMSErrorNotFound,
        AWSKMSErrorTag,
        AWSKMSErrorUnsupportedOperation,
    }

    Swift

    enum AWSKMSErrorType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSAlgorithmSpec) {
        AWSKMSAlgorithmSpecUnknown,
        AWSKMSAlgorithmSpecRsaesPkcs1V15,
        AWSKMSAlgorithmSpecRsaesOaepSha1,
        AWSKMSAlgorithmSpecRsaesOaepSha256,
    }

    Swift

    enum AWSKMSAlgorithmSpec : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSConnectionErrorCodeType) {
        AWSKMSConnectionErrorCodeTypeUnknown,
        AWSKMSConnectionErrorCodeTypeInvalidCredentials,
        AWSKMSConnectionErrorCodeTypeClusterNotFound,
        AWSKMSConnectionErrorCodeTypeNetworkErrors,
        AWSKMSConnectionErrorCodeTypeInternalError,
        AWSKMSConnectionErrorCodeTypeInsufficientCloudhsmHsms,
        AWSKMSConnectionErrorCodeTypeUserLockedOut,
        AWSKMSConnectionErrorCodeTypeUserNotFound,
        AWSKMSConnectionErrorCodeTypeUserLoggedIn,
        AWSKMSConnectionErrorCodeTypeSubnetNotFound,
    }

    Swift

    enum AWSKMSConnectionErrorCodeType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSConnectionStateType) {
        AWSKMSConnectionStateTypeUnknown,
        AWSKMSConnectionStateTypeConnected,
        AWSKMSConnectionStateTypeConnecting,
        AWSKMSConnectionStateTypeFailed,
        AWSKMSConnectionStateTypeDisconnected,
        AWSKMSConnectionStateTypeDisconnecting,
    }

    Swift

    enum AWSKMSConnectionStateType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSCustomerMasterKeySpec) {
        AWSKMSCustomerMasterKeySpecUnknown,
        AWSKMSCustomerMasterKeySpecRsa2048,
        AWSKMSCustomerMasterKeySpecRsa3072,
        AWSKMSCustomerMasterKeySpecRsa4096,
        AWSKMSCustomerMasterKeySpecEccNistP256,
        AWSKMSCustomerMasterKeySpecEccNistP384,
        AWSKMSCustomerMasterKeySpecEccNistP521,
        AWSKMSCustomerMasterKeySpecEccSecgP256k1,
        AWSKMSCustomerMasterKeySpecSymmetricDefault,
    }

    Swift

    enum AWSKMSCustomerMasterKeySpec : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSDataKeyPairSpec) {
        AWSKMSDataKeyPairSpecUnknown,
        AWSKMSDataKeyPairSpecRsa2048,
        AWSKMSDataKeyPairSpecRsa3072,
        AWSKMSDataKeyPairSpecRsa4096,
        AWSKMSDataKeyPairSpecEccNistP256,
        AWSKMSDataKeyPairSpecEccNistP384,
        AWSKMSDataKeyPairSpecEccNistP521,
        AWSKMSDataKeyPairSpecEccSecgP256k1,
    }

    Swift

    enum AWSKMSDataKeyPairSpec : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSDataKeySpec) {
        AWSKMSDataKeySpecUnknown,
        AWSKMSDataKeySpecAes256,
        AWSKMSDataKeySpecAes128,
    }

    Swift

    enum AWSKMSDataKeySpec : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSEncryptionAlgorithmSpec) {
        AWSKMSEncryptionAlgorithmSpecUnknown,
        AWSKMSEncryptionAlgorithmSpecSymmetricDefault,
        AWSKMSEncryptionAlgorithmSpecRsaesOaepSha1,
        AWSKMSEncryptionAlgorithmSpecRsaesOaepSha256,
    }

    Swift

    enum AWSKMSEncryptionAlgorithmSpec : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSExpirationModelType) {
        AWSKMSExpirationModelTypeUnknown,
        AWSKMSExpirationModelTypeKeyMaterialExpires,
        AWSKMSExpirationModelTypeKeyMaterialDoesNotExpire,
    }

    Swift

    enum AWSKMSExpirationModelType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSGrantOperation) {
        AWSKMSGrantOperationUnknown,
        AWSKMSGrantOperationDecrypt,
        AWSKMSGrantOperationEncrypt,
        AWSKMSGrantOperationGenerateDataKey,
        AWSKMSGrantOperationGenerateDataKeyWithoutPlaintext,
        AWSKMSGrantOperationReEncryptFrom,
        AWSKMSGrantOperationReEncryptTo,
        AWSKMSGrantOperationSign,
        AWSKMSGrantOperationVerify,
        AWSKMSGrantOperationGetPublicKey,
        AWSKMSGrantOperationCreateGrant,
        AWSKMSGrantOperationRetireGrant,
        AWSKMSGrantOperationDescribeKey,
        AWSKMSGrantOperationGenerateDataKeyPair,
        AWSKMSGrantOperationGenerateDataKeyPairWithoutPlaintext,
    }

    Swift

    enum AWSKMSGrantOperation : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSKeyManagerType) {
        AWSKMSKeyManagerTypeUnknown,
        AWSKMSKeyManagerTypeAws,
        AWSKMSKeyManagerTypeCustomer,
    }

    Swift

    enum AWSKMSKeyManagerType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSKeyState) {
        AWSKMSKeyStateUnknown,
        AWSKMSKeyStateEnabled,
        AWSKMSKeyStateDisabled,
        AWSKMSKeyStatePendingDeletion,
        AWSKMSKeyStatePendingImport,
        AWSKMSKeyStateUnavailable,
    }

    Swift

    enum AWSKMSKeyState : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSKeyUsageType) {
        AWSKMSKeyUsageTypeUnknown,
        AWSKMSKeyUsageTypeSignVerify,
        AWSKMSKeyUsageTypeEncryptDecrypt,
    }

    Swift

    enum AWSKMSKeyUsageType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSMessageType) {
        AWSKMSMessageTypeUnknown,
        AWSKMSMessageTypeRAW,
        AWSKMSMessageTypeDigest,
    }

    Swift

    enum AWSKMSMessageType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSOriginType) {
        AWSKMSOriginTypeUnknown,
        AWSKMSOriginTypeAwsKms,
        AWSKMSOriginTypeExternal,
        AWSKMSOriginTypeAwsCloudhsm,
    }

    Swift

    enum AWSKMSOriginType : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSSigningAlgorithmSpec) {
        AWSKMSSigningAlgorithmSpecUnknown,
        AWSKMSSigningAlgorithmSpecRsassaPssSha256,
        AWSKMSSigningAlgorithmSpecRsassaPssSha384,
        AWSKMSSigningAlgorithmSpecRsassaPssSha512,
        AWSKMSSigningAlgorithmSpecRsassaPkcs1V15Sha256,
        AWSKMSSigningAlgorithmSpecRsassaPkcs1V15Sha384,
        AWSKMSSigningAlgorithmSpecRsassaPkcs1V15Sha512,
        AWSKMSSigningAlgorithmSpecEcdsaSha256,
        AWSKMSSigningAlgorithmSpecEcdsaSha384,
        AWSKMSSigningAlgorithmSpecEcdsaSha512,
    }

    Swift

    enum AWSKMSSigningAlgorithmSpec : Int
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, AWSKMSWrappingKeySpec) {
        AWSKMSWrappingKeySpecUnknown,
        AWSKMSWrappingKeySpecRsa2048,
    }

    Swift

    enum AWSKMSWrappingKeySpec : Int