Skip navigation links
A B C D E F G H I J K L M P R S T U V W 

A

AbstractExternalStoreDataKeyProvider - Class in com.aliyun.encryptionsdk.provider.dataKey
BaseDataKeyProvider 的一个外部保存 CipherHeader 抽象实现, 密文中仅保存 CipherBody 部分
AbstractExternalStoreDataKeyProvider(String, String) - Constructor for class com.aliyun.encryptionsdk.provider.dataKey.AbstractExternalStoreDataKeyProvider
 
AbstractExternalStoreDataKeyProvider(String, CryptoAlgorithm, String) - Constructor for class com.aliyun.encryptionsdk.provider.dataKey.AbstractExternalStoreDataKeyProvider
 
add(DataKeyCache.UsageInfo) - Method in class com.aliyun.encryptionsdk.cache.DataKeyCache.UsageInfo
 
addEncryptedDataKeys(EncryptedDataKey) - Method in class com.aliyun.encryptionsdk.model.EncryptionMaterial
 
algorithm - Variable in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
 
AlgorithmHandler - Class in com.aliyun.encryptionsdk.handler
处理加/解密流程并返回结果
AlgorithmHandler(CryptoAlgorithm, SecretKey, int) - Constructor for class com.aliyun.encryptionsdk.handler.AlgorithmHandler
 
AliyunConfig - Class in com.aliyun.encryptionsdk
 
AliyunConfig() - Constructor for class com.aliyun.encryptionsdk.AliyunConfig
 
AliyunConfig(AlibabaCloudCredentialsProvider) - Constructor for class com.aliyun.encryptionsdk.AliyunConfig
 
AliyunCrypto - Class in com.aliyun.encryptionsdk
EncryptionSDK的主类,所有的加/解密操作都应该通过该类中的方法开始
AliyunCrypto(AliyunConfig) - Constructor for class com.aliyun.encryptionsdk.AliyunCrypto
 
AliyunCrypto(AliyunConfig, Logger) - Constructor for class com.aliyun.encryptionsdk.AliyunCrypto
 
AliyunException - Exception in com.aliyun.encryptionsdk.exception
EncryptionSDK抛出运行时异常的父类
AliyunException() - Constructor for exception com.aliyun.encryptionsdk.exception.AliyunException
 
AliyunException(String) - Constructor for exception com.aliyun.encryptionsdk.exception.AliyunException
 
AliyunException(Throwable) - Constructor for exception com.aliyun.encryptionsdk.exception.AliyunException
 
AliyunException(String, Throwable) - Constructor for exception com.aliyun.encryptionsdk.exception.AliyunException
 
AliyunKms - Interface in com.aliyun.encryptionsdk.kms
定义了请求kms服务端的接口
AliyunKms.AsymmetricSignResult - Class in com.aliyun.encryptionsdk.kms
 
AliyunKms.AsymmetricVerifyResult - Class in com.aliyun.encryptionsdk.kms
 
AliyunKms.BaseResult - Class in com.aliyun.encryptionsdk.kms
 
AliyunKms.CreateSecretResult - Class in com.aliyun.encryptionsdk.kms
 
AliyunKms.DecryptDataKeyResult - Class in com.aliyun.encryptionsdk.kms
 
AliyunKms.GenerateDataKeyResult - Class in com.aliyun.encryptionsdk.kms
 
AliyunKms.GetSecretValueResult - Class in com.aliyun.encryptionsdk.kms
 
AliyunKmsClientFactory - Class in com.aliyun.encryptionsdk.kms
 
AliyunKmsClientFactory() - Constructor for class com.aliyun.encryptionsdk.kms.AliyunKmsClientFactory
 
Asn1FormatHandler - Class in com.aliyun.encryptionsdk.handler
FormatHandler 的ASN1数据格式实现
Asn1FormatHandler() - Constructor for class com.aliyun.encryptionsdk.handler.Asn1FormatHandler
 
asymmetricSign(CmkId, String, SignatureAlgorithm, byte[]) - Method in interface com.aliyun.encryptionsdk.kms.AliyunKms
使用非对称密钥进行签名
asymmetricSign(CmkId, String, SignatureAlgorithm, byte[]) - Method in class com.aliyun.encryptionsdk.kms.DefaultAliyunKms
 
AsymmetricSignResult(String, String, String) - Constructor for class com.aliyun.encryptionsdk.kms.AliyunKms.AsymmetricSignResult
 
asymmetricVerify(CmkId, String, SignatureAlgorithm, byte[], byte[]) - Method in interface com.aliyun.encryptionsdk.kms.AliyunKms
使用非对称密钥进行验签
asymmetricVerify(CmkId, String, SignatureAlgorithm, byte[], byte[]) - Method in class com.aliyun.encryptionsdk.kms.DefaultAliyunKms
 
AsymmetricVerifyResult(String, String, Boolean) - Constructor for class com.aliyun.encryptionsdk.kms.AliyunKms.AsymmetricVerifyResult
 

B

BackoffStrategy - Interface in com.aliyun.encryptionsdk.kms
重试等待策略接口
BackoffUtils - Class in com.aliyun.encryptionsdk.kms
处理ClientException异常情况是否应该重试策略
BaseDataKeyProvider - Class in com.aliyun.encryptionsdk.provider
数据密钥生成抽象类,提供对数据密钥处理方法
BaseDataKeyProvider(String) - Constructor for class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
 
BaseDataKeyProvider(String, CryptoAlgorithm) - Constructor for class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
 
BaseResult(String, String) - Constructor for class com.aliyun.encryptionsdk.kms.AliyunKms.BaseResult
 

C

CachingCryptoKeyManager - Class in com.aliyun.encryptionsdk.ckm
CachingCryptoKeyManager包装了另一个 CryptoKeyManager,并缓存了密钥材料结果。 减少从kms获取密钥材料的调用次数,有助于提高性能或降低成本。
CachingCryptoKeyManager(DataKeyCache) - Constructor for class com.aliyun.encryptionsdk.ckm.CachingCryptoKeyManager
 
calculateHeaderAuthTag(AlgorithmHandler) - Method in class com.aliyun.encryptionsdk.model.CipherHeader
 
calculateHeaderAuthTag(EncryptionMaterial, CipherHeader) - Method in class com.aliyun.encryptionsdk.provider.dataKey.AbstractExternalStoreDataKeyProvider
 
CipherBody - Class in com.aliyun.encryptionsdk.model
 
CipherBody(byte[], byte[], byte[]) - Constructor for class com.aliyun.encryptionsdk.model.CipherBody
 
CipherBody(byte[], byte[]) - Constructor for class com.aliyun.encryptionsdk.model.CipherBody
 
cipherData(byte[], byte[], byte[], int, int) - Method in class com.aliyun.encryptionsdk.handler.AlgorithmHandler
使用 Cipher 处理数据
CipherHeader - Class in com.aliyun.encryptionsdk.model
 
CipherHeader(List<EncryptedDataKey>, Map<String, String>, CryptoAlgorithm) - Constructor for class com.aliyun.encryptionsdk.model.CipherHeader
 
CipherHeader(List<EncryptedDataKey>, Map<String, String>, CryptoAlgorithm, byte[], byte[]) - Constructor for class com.aliyun.encryptionsdk.model.CipherHeader
 
CipherMaterial - Class in com.aliyun.encryptionsdk.model
 
CipherMaterial(CipherHeader, CipherBody) - Constructor for class com.aliyun.encryptionsdk.model.CipherMaterial
 
CipherTextParseException - Exception in com.aliyun.encryptionsdk.exception
处理格式化密文失败时抛出此异常
CipherTextParseException() - Constructor for exception com.aliyun.encryptionsdk.exception.CipherTextParseException
 
CipherTextParseException(String) - Constructor for exception com.aliyun.encryptionsdk.exception.CipherTextParseException
 
CipherTextParseException(String, Throwable) - Constructor for exception com.aliyun.encryptionsdk.exception.CipherTextParseException
 
close() - Method in class com.aliyun.encryptionsdk.logger.CommonLogger
 
CmkId - Class in com.aliyun.encryptionsdk.model
 
CmkId(String) - Constructor for class com.aliyun.encryptionsdk.model.CmkId
 
com.aliyun.encryptionsdk - package com.aliyun.encryptionsdk
 
com.aliyun.encryptionsdk.cache - package com.aliyun.encryptionsdk.cache
 
com.aliyun.encryptionsdk.ckm - package com.aliyun.encryptionsdk.ckm
 
com.aliyun.encryptionsdk.exception - package com.aliyun.encryptionsdk.exception
 
com.aliyun.encryptionsdk.handler - package com.aliyun.encryptionsdk.handler
 
com.aliyun.encryptionsdk.kms - package com.aliyun.encryptionsdk.kms
 
com.aliyun.encryptionsdk.logger - package com.aliyun.encryptionsdk.logger
 
com.aliyun.encryptionsdk.model - package com.aliyun.encryptionsdk.model
 
com.aliyun.encryptionsdk.provider - package com.aliyun.encryptionsdk.provider
 
com.aliyun.encryptionsdk.provider.dataKey - package com.aliyun.encryptionsdk.provider.dataKey
 
CommonLogger - Class in com.aliyun.encryptionsdk.logger
 
compareTo(EncryptedDataKey) - Method in class com.aliyun.encryptionsdk.model.EncryptedDataKey
 
Constants - Class in com.aliyun.encryptionsdk.model
 
Constants() - Constructor for class com.aliyun.encryptionsdk.model.Constants
 
ContentType - Enum in com.aliyun.encryptionsdk.model
签名/验签内容的类型,支持原始消息和消息摘要
createSecret(CmkId, String, String, String, String) - Method in interface com.aliyun.encryptionsdk.kms.AliyunKms
使用主密钥创建一个凭据,以及凭据的初始版本
createSecret(CmkId, String, String, String, String) - Method in class com.aliyun.encryptionsdk.kms.DefaultAliyunKms
 
CreateSecretResult(String, String, String) - Constructor for class com.aliyun.encryptionsdk.kms.AliyunKms.CreateSecretResult
 
CryptoAlgorithm - Enum in com.aliyun.encryptionsdk.model
 
CryptoKeyManager - Interface in com.aliyun.encryptionsdk.ckm
密钥材料管理器,处理请求所需要的密钥材料
CryptoResult<T> - Class in com.aliyun.encryptionsdk.model
 
CryptoResult(T, CipherMaterial) - Constructor for class com.aliyun.encryptionsdk.model.CryptoResult
 

D

DataKeyCache - Interface in com.aliyun.encryptionsdk.cache
用于密材料的缓存抽象,维护从缓存标识符到EncryptEntry与DecryptEntry的映射关系。 缓存仅关注密钥材料以及有关缓存使用限制的数据统计,实际执行限制由外层调用方处理。
DataKeyCache.DecryptEntry - Interface in com.aliyun.encryptionsdk.cache
缓存的解密密钥条目抽象接口
DataKeyCache.EncryptEntry - Interface in com.aliyun.encryptionsdk.cache
缓存的加密密钥条目抽象接口
DataKeyCache.UsageInfo - Class in com.aliyun.encryptionsdk.cache
密钥材料的使用情况,保存了已加密字节数和加密信息条数
dataKeyName - Variable in class com.aliyun.encryptionsdk.provider.dataKey.AbstractExternalStoreDataKeyProvider
 
debugf(String, Object...) - Method in class com.aliyun.encryptionsdk.logger.CommonLogger
 
decrypt(BaseDataKeyProvider, byte[]) - Method in class com.aliyun.encryptionsdk.AliyunCrypto
使用 BaseDataKeyProvider 获取加密使用的dataKey解密 cipherText
decrypt(CipherMaterial, DecryptionMaterial) - Method in class com.aliyun.encryptionsdk.handler.DefaultEncryptHandler
 
decrypt(CipherMaterial, DecryptionMaterial) - Method in interface com.aliyun.encryptionsdk.handler.EncryptHandler
对一个加密结果进行解密
decryptDataKey(EncryptedDataKey, Map<String, String>) - Method in interface com.aliyun.encryptionsdk.kms.AliyunKms
解密一个数据密钥密文
decryptDataKey(EncryptedDataKey, Map<String, String>) - Method in class com.aliyun.encryptionsdk.kms.DefaultAliyunKms
 
decryptDataKey(DecryptionMaterial, List<EncryptedDataKey>) - Method in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
解密数据密钥
decryptDataKey(DecryptionMaterial, List<EncryptedDataKey>) - Method in class com.aliyun.encryptionsdk.provider.dataKey.AbstractExternalStoreDataKeyProvider
 
DecryptDataKeyResult(String, String, String) - Constructor for class com.aliyun.encryptionsdk.kms.AliyunKms.DecryptDataKeyResult
 
DecryptionMaterial - Class in com.aliyun.encryptionsdk.model
 
DecryptionMaterial() - Constructor for class com.aliyun.encryptionsdk.model.DecryptionMaterial
 
DefaultAliyunKms - Class in com.aliyun.encryptionsdk.kms
AliyunKms 默认实现 依赖aliyun-java-sdk-core和aliyun-java-sdk-kms两个jar包
DefaultAliyunKms(AliyunConfig) - Constructor for class com.aliyun.encryptionsdk.kms.DefaultAliyunKms
 
DefaultCryptoKeyManager - Class in com.aliyun.encryptionsdk.ckm
CryptoKeyManager 的默认实现,
DefaultCryptoKeyManager() - Constructor for class com.aliyun.encryptionsdk.ckm.DefaultCryptoKeyManager
 
DefaultDataKeyProvider - Class in com.aliyun.encryptionsdk.provider.dataKey
BaseDataKeyProvider 的一个实现,所有加密信息都保存在密文中
DefaultDataKeyProvider(String) - Constructor for class com.aliyun.encryptionsdk.provider.dataKey.DefaultDataKeyProvider
 
DefaultDataKeyProvider(String, CryptoAlgorithm) - Constructor for class com.aliyun.encryptionsdk.provider.dataKey.DefaultDataKeyProvider
 
DefaultEncryptHandler - Class in com.aliyun.encryptionsdk.handler
EncryptHandler 的默认实现
DefaultEncryptHandler() - Constructor for class com.aliyun.encryptionsdk.handler.DefaultEncryptHandler
 
deserialize(byte[]) - Method in class com.aliyun.encryptionsdk.handler.Asn1FormatHandler
 
deserialize(byte[]) - Method in interface com.aliyun.encryptionsdk.handler.FormatHandler
 
deserializeCipherBody(byte[]) - Method in class com.aliyun.encryptionsdk.handler.Asn1FormatHandler
 
deserializeCipherBody(byte[]) - Method in interface com.aliyun.encryptionsdk.handler.FormatHandler
 
deserializeCipherHeader(byte[]) - Method in class com.aliyun.encryptionsdk.handler.Asn1FormatHandler
 
deserializeCipherHeader(byte[]) - Method in interface com.aliyun.encryptionsdk.handler.FormatHandler
 
digestAlgorithm(MessageDigest) - Method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
 

E

ENCODING - Static variable in interface com.aliyun.encryptionsdk.ckm.CryptoKeyManager
 
encrypt(BaseDataKeyProvider, byte[], Map<String, String>) - Method in class com.aliyun.encryptionsdk.AliyunCrypto
使用 BaseDataKeyProvider 生成dataKey加密 plaintext 加密细节由 EncryptHandler 处理
encrypt(byte[], EncryptionMaterial) - Method in class com.aliyun.encryptionsdk.handler.DefaultEncryptHandler
 
encrypt(byte[], EncryptionMaterial) - Method in interface com.aliyun.encryptionsdk.handler.EncryptHandler
对一个明文字节数组进行加密
encryptDataKey(CmkId, String, Map<String, String>) - Method in interface com.aliyun.encryptionsdk.kms.AliyunKms
加密一个数据密文明文
encryptDataKey(CmkId, String, Map<String, String>) - Method in class com.aliyun.encryptionsdk.kms.DefaultAliyunKms
 
encryptDataKey(EncryptionMaterial) - Method in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
生成一个数据密钥并进行加密处理
encryptDataKey(EncryptionMaterial) - Method in class com.aliyun.encryptionsdk.provider.dataKey.SecretManagerDataKeyProvider
 
EncryptedDataKey - Class in com.aliyun.encryptionsdk.model
 
EncryptedDataKey(String, String) - Constructor for class com.aliyun.encryptionsdk.model.EncryptedDataKey
 
EncryptedDataKey(byte[], byte[]) - Constructor for class com.aliyun.encryptionsdk.model.EncryptedDataKey
 
EncryptHandler - Interface in com.aliyun.encryptionsdk.handler
定义数据的加解密方法
EncryptionMaterial - Class in com.aliyun.encryptionsdk.model
 
EncryptionMaterial() - Constructor for class com.aliyun.encryptionsdk.model.EncryptionMaterial
 
equals(Object) - Method in class com.aliyun.encryptionsdk.model.CmkId
 
errorf(String, Object...) - Method in class com.aliyun.encryptionsdk.logger.CommonLogger
 

F

flush() - Method in class com.aliyun.encryptionsdk.logger.CommonLogger
 
FormatHandler - Interface in com.aliyun.encryptionsdk.handler
定义了 CipherMaterial 各部分数据的序列化和反序列化方法 CipherMaterial 由两部分组成,CipherHeaderCipherBody
FullJitterBackoffStrategy - Class in com.aliyun.encryptionsdk.kms
BackoffStrategy 默认实现 处理了每次重试需要等待时间的具体算法
FullJitterBackoffStrategy(long, long) - Constructor for class com.aliyun.encryptionsdk.kms.FullJitterBackoffStrategy
 

G

generateDataKey(CmkId, CryptoAlgorithm, Map<String, String>) - Method in interface com.aliyun.encryptionsdk.kms.AliyunKms
使用主密钥生成一个数据密钥
generateDataKey(CmkId, CryptoAlgorithm, Map<String, String>) - Method in class com.aliyun.encryptionsdk.kms.DefaultAliyunKms
 
GenerateDataKeyResult(String, String, String, String) - Constructor for class com.aliyun.encryptionsdk.kms.AliyunKms.GenerateDataKeyResult
 
getAlgorithm() - Method in class com.aliyun.encryptionsdk.model.CipherHeader
 
getAlgorithm(int) - Static method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
 
getAlgorithm() - Method in class com.aliyun.encryptionsdk.model.CryptoResult
 
getAlgorithm() - Method in class com.aliyun.encryptionsdk.model.DecryptionMaterial
 
getAlgorithm() - Method in class com.aliyun.encryptionsdk.model.EncryptionMaterial
 
getAlgorithm() - Method in enum com.aliyun.encryptionsdk.model.SignatureAlgorithm
 
getAlgorithm() - Method in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
 
getArn() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.CreateSecretResult
 
getAuthTag() - Method in class com.aliyun.encryptionsdk.model.CipherBody
 
getBackoffStrategy() - Method in class com.aliyun.encryptionsdk.AliyunConfig
 
getBlockSize() - Method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
 
getCacheId() - Method in interface com.aliyun.encryptionsdk.cache.DataKeyCache.DecryptEntry
 
getCacheId() - Method in interface com.aliyun.encryptionsdk.cache.DataKeyCache.EncryptEntry
 
getCipherBody() - Method in class com.aliyun.encryptionsdk.model.CipherMaterial
 
getCipherHeader() - Method in class com.aliyun.encryptionsdk.model.CipherMaterial
 
getCipherHeader(String) - Method in class com.aliyun.encryptionsdk.provider.dataKey.AbstractExternalStoreDataKeyProvider
 
getCipherHeader(String) - Method in class com.aliyun.encryptionsdk.provider.dataKey.SecretManagerDataKeyProvider
 
getCipherMaterial() - Method in class com.aliyun.encryptionsdk.model.CryptoResult
 
getCipherMaterial(byte[]) - Method in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
通过密文或数据密钥关键字获取数据密钥并生成密码材料
getCipherMaterial(byte[]) - Method in class com.aliyun.encryptionsdk.provider.dataKey.AbstractExternalStoreDataKeyProvider
 
getCipherMaterial(byte[]) - Method in class com.aliyun.encryptionsdk.provider.dataKey.DefaultDataKeyProvider
 
getCipherText() - Method in class com.aliyun.encryptionsdk.model.CipherBody
 
getClient(AliyunConfig, String) - Static method in class com.aliyun.encryptionsdk.kms.AliyunKmsClientFactory
 
getCommonLogger(String) - Static method in class com.aliyun.encryptionsdk.logger.CommonLogger
获取commonLogger
getCryptoName() - Method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
 
getDataKey() - Method in class com.aliyun.encryptionsdk.model.EncryptedDataKey
 
getDataKeyString() - Method in class com.aliyun.encryptionsdk.model.EncryptedDataKey
 
getDecryptDataKeyMaterial(BaseDataKeyProvider, Map<String, String>, List<EncryptedDataKey>) - Method in class com.aliyun.encryptionsdk.ckm.CachingCryptoKeyManager
 
getDecryptDataKeyMaterial(BaseDataKeyProvider, Map<String, String>, List<EncryptedDataKey>) - Method in interface com.aliyun.encryptionsdk.ckm.CryptoKeyManager
 
getDecryptDataKeyMaterial(BaseDataKeyProvider, Map<String, String>, List<EncryptedDataKey>) - Method in class com.aliyun.encryptionsdk.ckm.DefaultCryptoKeyManager
 
getDecryptEntry(String) - Method in interface com.aliyun.encryptionsdk.cache.DataKeyCache
从缓存中搜索一个与标识符匹配的解密密钥条目
getDecryptEntry(String) - Method in class com.aliyun.encryptionsdk.cache.LocalDataKeyMaterialCache
 
getDigest() - Method in class com.aliyun.encryptionsdk.model.SignatureMaterial
 
getDigest() - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
getDigest(byte[]) - Method in class com.aliyun.encryptionsdk.provider.KmsAsymmetricKeyProvider
 
getDigestAlgorithm() - Method in enum com.aliyun.encryptionsdk.model.SignatureAlgorithm
 
getEncryptDataKeyMaterial(BaseDataKeyProvider, Map<String, String>, long) - Method in class com.aliyun.encryptionsdk.ckm.CachingCryptoKeyManager
 
getEncryptDataKeyMaterial(BaseDataKeyProvider, Map<String, String>, long) - Method in interface com.aliyun.encryptionsdk.ckm.CryptoKeyManager
 
getEncryptDataKeyMaterial(BaseDataKeyProvider, Map<String, String>, long) - Method in class com.aliyun.encryptionsdk.ckm.DefaultCryptoKeyManager
 
getEncryptedBytes() - Method in class com.aliyun.encryptionsdk.cache.DataKeyCache.UsageInfo
 
getEncryptedDataKey() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.GenerateDataKeyResult
 
getEncryptedDataKeyList() - Method in class com.aliyun.encryptionsdk.model.CryptoResult
 
getEncryptedDataKeys() - Method in class com.aliyun.encryptionsdk.model.CipherHeader
 
getEncryptedDataKeys() - Method in class com.aliyun.encryptionsdk.model.EncryptionMaterial
 
getEncryptedMessages() - Method in class com.aliyun.encryptionsdk.cache.DataKeyCache.UsageInfo
 
getEncryptEntry(String, DataKeyCache.UsageInfo) - Method in interface com.aliyun.encryptionsdk.cache.DataKeyCache
从缓存中搜索一个与标识符匹配的加密密钥条目
getEncryptEntry(String, DataKeyCache.UsageInfo) - Method in class com.aliyun.encryptionsdk.cache.LocalDataKeyMaterialCache
 
getEncryptionContext() - Method in class com.aliyun.encryptionsdk.model.CipherHeader
 
getEncryptionContext() - Method in class com.aliyun.encryptionsdk.model.CryptoResult
 
getEncryptionContext() - Method in class com.aliyun.encryptionsdk.model.DecryptionMaterial
 
getEncryptionContext() - Method in class com.aliyun.encryptionsdk.model.EncryptionMaterial
 
getEncryptionContextBytes() - Method in class com.aliyun.encryptionsdk.model.CipherHeader
 
getHeaderAuthTag() - Method in class com.aliyun.encryptionsdk.model.CipherHeader
 
getHeaderIv() - Method in class com.aliyun.encryptionsdk.model.CipherHeader
 
getIv() - Method in class com.aliyun.encryptionsdk.model.CipherBody
 
getIvLen() - Method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
 
getKeyId() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.BaseResult
 
getKeyId() - Method in class com.aliyun.encryptionsdk.model.CmkId
 
getKeyId() - Method in class com.aliyun.encryptionsdk.model.EncryptedDataKey
 
getKeyId() - Method in class com.aliyun.encryptionsdk.model.SignatureMaterial
 
getKeyId() - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
getKeyIdString() - Method in class com.aliyun.encryptionsdk.model.EncryptedDataKey
 
getKeyLen() - Method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
 
getKeyName() - Method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
 
getKeySpec() - Method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
 
getKeySpec() - Method in enum com.aliyun.encryptionsdk.model.SignatureAlgorithm
 
getKeyVersionId() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.BaseResult
 
getKeyVersionId() - Method in class com.aliyun.encryptionsdk.model.SignatureMaterial
 
getKeyVersionId() - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
getMaterial() - Method in interface com.aliyun.encryptionsdk.cache.DataKeyCache.DecryptEntry
 
getMaterial() - Method in interface com.aliyun.encryptionsdk.cache.DataKeyCache.EncryptEntry
 
getMaxEncryptionBytes() - Method in class com.aliyun.encryptionsdk.ckm.CachingCryptoKeyManager
 
getMaxEncryptionMessages() - Method in class com.aliyun.encryptionsdk.ckm.CachingCryptoKeyManager
 
getMaxRetries() - Method in class com.aliyun.encryptionsdk.AliyunConfig
 
getMaxSurvivalTime() - Method in class com.aliyun.encryptionsdk.ckm.CachingCryptoKeyManager
 
getMessage() - Method in class com.aliyun.encryptionsdk.model.SignatureMaterial
 
getMessage() - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
getPlaintext() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.DecryptDataKeyResult
 
getPlaintext() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.GenerateDataKeyResult
 
getPlaintextDataKey() - Method in class com.aliyun.encryptionsdk.model.DecryptionMaterial
 
getPlaintextDataKey() - Method in class com.aliyun.encryptionsdk.model.EncryptionMaterial
 
getProvider() - Method in class com.aliyun.encryptionsdk.AliyunConfig
 
getPublicKey(CmkId, String) - Method in interface com.aliyun.encryptionsdk.kms.AliyunKms
获取非对称密钥的公钥。用户可以在本地使用公钥进行加密、验签。
getPublicKey(CmkId, String) - Method in class com.aliyun.encryptionsdk.kms.DefaultAliyunKms
 
getRawKeyId() - Method in class com.aliyun.encryptionsdk.model.CmkId
 
getRegion() - Method in class com.aliyun.encryptionsdk.model.CmkId
 
getResult() - Method in class com.aliyun.encryptionsdk.model.CryptoResult
 
getResult() - Method in class com.aliyun.encryptionsdk.model.SignatureResult
 
getSecretData() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.GetSecretValueResult
 
getSecretDataType() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.GetSecretValueResult
 
getSecretName() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.CreateSecretResult
 
getSecretName() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.GetSecretValueResult
 
getSecretValue(CmkId, String) - Method in interface com.aliyun.encryptionsdk.kms.AliyunKms
获取被凭据保护的凭据值内容
getSecretValue(CmkId, String) - Method in class com.aliyun.encryptionsdk.kms.DefaultAliyunKms
 
GetSecretValueResult(String, String, String) - Constructor for class com.aliyun.encryptionsdk.kms.AliyunKms.GetSecretValueResult
 
getSignature() - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
getSignatureAlgorithm() - Method in class com.aliyun.encryptionsdk.model.SignatureMaterial
 
getSignatureAlgorithm() - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
getSignatureAlgorithm() - Method in class com.aliyun.encryptionsdk.provider.KmsAsymmetricKeyProvider
 
getSignatureAlgorithm() - Method in interface com.aliyun.encryptionsdk.provider.SignatureProvider
 
getSignatureMaterial(SignatureProvider, byte[], ContentType) - Method in class com.aliyun.encryptionsdk.ckm.CachingCryptoKeyManager
 
getSignatureMaterial(SignatureProvider, byte[], ContentType) - Method in interface com.aliyun.encryptionsdk.ckm.CryptoKeyManager
 
getSignatureMaterial(SignatureProvider, byte[], ContentType) - Method in class com.aliyun.encryptionsdk.ckm.DefaultCryptoKeyManager
 
getSpec(byte[]) - Method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
 
getTagLen() - Method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
 
getUsageInfo() - Method in interface com.aliyun.encryptionsdk.cache.DataKeyCache.EncryptEntry
 
getValue() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.AsymmetricSignResult
 
getValue() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.AsymmetricVerifyResult
 
getValue() - Method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
 
getValue() - Method in class com.aliyun.encryptionsdk.model.SignatureMaterial
 
getValue() - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
getVerifyMaterial(SignatureProvider, byte[], byte[], ContentType) - Method in class com.aliyun.encryptionsdk.ckm.CachingCryptoKeyManager
 
getVerifyMaterial(SignatureProvider, byte[], byte[], ContentType) - Method in interface com.aliyun.encryptionsdk.ckm.CryptoKeyManager
 
getVerifyMaterial(SignatureProvider, byte[], byte[], ContentType) - Method in class com.aliyun.encryptionsdk.ckm.DefaultCryptoKeyManager
 
getVersionId() - Method in class com.aliyun.encryptionsdk.kms.AliyunKms.CreateSecretResult
 
getWaitTimeExponential(int) - Method in interface com.aliyun.encryptionsdk.kms.BackoffStrategy
 
getWaitTimeExponential(int) - Method in class com.aliyun.encryptionsdk.kms.FullJitterBackoffStrategy
 

H

handler - Variable in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
 
hashCode() - Method in class com.aliyun.encryptionsdk.model.CmkId
 
HEADER_IV_LEN - Static variable in class com.aliyun.encryptionsdk.model.CipherHeader
 
headerGcmEncrypt(byte[], byte[], byte[], int, int) - Method in class com.aliyun.encryptionsdk.handler.AlgorithmHandler
 

I

infof(String, Object...) - Method in class com.aliyun.encryptionsdk.logger.CommonLogger
 
invalid() - Method in interface com.aliyun.encryptionsdk.cache.DataKeyCache.DecryptEntry
 
invalid() - Method in interface com.aliyun.encryptionsdk.cache.DataKeyCache.EncryptEntry
 
InvalidAlgorithmException - Exception in com.aliyun.encryptionsdk.exception
无法处理的算法类型时抛出此异常
InvalidAlgorithmException() - Constructor for exception com.aliyun.encryptionsdk.exception.InvalidAlgorithmException
 
InvalidAlgorithmException(String) - Constructor for exception com.aliyun.encryptionsdk.exception.InvalidAlgorithmException
 
InvalidAlgorithmException(String, Throwable) - Constructor for exception com.aliyun.encryptionsdk.exception.InvalidAlgorithmException
 
InvalidArgumentException - Exception in com.aliyun.encryptionsdk.exception
数据初始化碰到无效的参数时抛出此异常
InvalidArgumentException() - Constructor for exception com.aliyun.encryptionsdk.exception.InvalidArgumentException
 
InvalidArgumentException(String) - Constructor for exception com.aliyun.encryptionsdk.exception.InvalidArgumentException
 
InvalidArgumentException(String, Throwable) - Constructor for exception com.aliyun.encryptionsdk.exception.InvalidArgumentException
 
isArn() - Method in class com.aliyun.encryptionsdk.model.CmkId
 
isCommonRegion(CmkId) - Method in class com.aliyun.encryptionsdk.model.CmkId
 
isRegistered(String) - Static method in class com.aliyun.encryptionsdk.logger.CommonLogger
是否注册commonLogger
isWithAad() - Method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
 

J

judgeNeedBackoff(ClientException) - Static method in class com.aliyun.encryptionsdk.kms.BackoffUtils
 

K

keyId - Variable in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
 
kms - Variable in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
 
KmsAsymmetricKeyProvider - Class in com.aliyun.encryptionsdk.provider
使用kms服务端的AsymmetricSign和AsymmetricVerify接口进行数据签名及验签
KmsAsymmetricKeyProvider(String, String, SignatureAlgorithm) - Constructor for class com.aliyun.encryptionsdk.provider.KmsAsymmetricKeyProvider
 
KmsAsymmetricKeyProvider(String, SignatureAlgorithm) - Constructor for class com.aliyun.encryptionsdk.provider.KmsAsymmetricKeyProvider
 
KmsAsymmetricKeyProvider(PublicKey, SignatureAlgorithm) - Constructor for class com.aliyun.encryptionsdk.provider.KmsAsymmetricKeyProvider
 
KmsAsymmetricKeyProvider(String) - Constructor for class com.aliyun.encryptionsdk.provider.KmsAsymmetricKeyProvider
 

L

LocalDataKeyMaterialCache - Class in com.aliyun.encryptionsdk.cache
DataKeyCache 的默认实现,利用Java自带的 LinkedHashMap 实现的LRU 本地缓存
LocalDataKeyMaterialCache() - Constructor for class com.aliyun.encryptionsdk.cache.LocalDataKeyMaterialCache
 
LocalDataKeyMaterialCache(int) - Constructor for class com.aliyun.encryptionsdk.cache.LocalDataKeyMaterialCache
 

M

MODE_NAME - Static variable in class com.aliyun.encryptionsdk.model.Constants
 

P

parseExceptionErrorMsg(String, Object[]) - Method in class com.aliyun.encryptionsdk.logger.CommonLogger
 
PREFIX - Static variable in class com.aliyun.encryptionsdk.model.CmkId
 
processCipherMaterial(CipherMaterial) - Method in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
处理密码材料生成字节数组,字节数组内容可能包含: 1.CipherMaterial 的所有内容 2.CipherMaterial 中的 CipherBody 部分(CipherHeader 部分由 AbstractExternalStoreDataKeyProvider 的实现自行处理)
processCipherMaterial(CipherMaterial) - Method in class com.aliyun.encryptionsdk.provider.dataKey.AbstractExternalStoreDataKeyProvider
 
processCipherMaterial(CipherMaterial) - Method in class com.aliyun.encryptionsdk.provider.dataKey.DefaultDataKeyProvider
 
putDecryptEntry(String, long, DecryptionMaterial) - Method in interface com.aliyun.encryptionsdk.cache.DataKeyCache
向缓存中添加一个新的解密密钥材料
putDecryptEntry(String, long, DecryptionMaterial) - Method in class com.aliyun.encryptionsdk.cache.LocalDataKeyMaterialCache
 
putEncryptEntry(String, long, EncryptionMaterial, DataKeyCache.UsageInfo) - Method in interface com.aliyun.encryptionsdk.cache.DataKeyCache
向缓存中添加一个新的加密密钥材料
putEncryptEntry(String, long, EncryptionMaterial, DataKeyCache.UsageInfo) - Method in class com.aliyun.encryptionsdk.cache.LocalDataKeyMaterialCache
 

R

reEncryptDataKey(CmkId, EncryptedDataKey, Map<String, String>) - Method in interface com.aliyun.encryptionsdk.kms.AliyunKms
转加密一个数据密钥密文
reEncryptDataKey(CmkId, EncryptedDataKey, Map<String, String>) - Method in class com.aliyun.encryptionsdk.kms.DefaultAliyunKms
 
registerLogger(String, Logger) - Static method in class com.aliyun.encryptionsdk.logger.CommonLogger
注册logger

S

SDK_VERSION - Static variable in class com.aliyun.encryptionsdk.model.Constants
 
SecretManagerDataKeyProvider - Class in com.aliyun.encryptionsdk.provider.dataKey
AbstractExternalStoreDataKeyProvider 的SecretManager实现 dataKeyName 将作为secretName标识一个数据密钥
SecretManagerDataKeyProvider(String, String) - Constructor for class com.aliyun.encryptionsdk.provider.dataKey.SecretManagerDataKeyProvider
 
SecretManagerDataKeyProvider(String, CryptoAlgorithm, String) - Constructor for class com.aliyun.encryptionsdk.provider.dataKey.SecretManagerDataKeyProvider
 
SecurityProcessException - Exception in com.aliyun.encryptionsdk.exception
算法处理失败时抛出此异常
SecurityProcessException() - Constructor for exception com.aliyun.encryptionsdk.exception.SecurityProcessException
 
SecurityProcessException(String) - Constructor for exception com.aliyun.encryptionsdk.exception.SecurityProcessException
 
SecurityProcessException(String, Throwable) - Constructor for exception com.aliyun.encryptionsdk.exception.SecurityProcessException
 
serialize(CipherMaterial) - Method in class com.aliyun.encryptionsdk.handler.Asn1FormatHandler
 
serialize(CipherMaterial) - Method in interface com.aliyun.encryptionsdk.handler.FormatHandler
 
serializeAuthenticatedFields() - Method in class com.aliyun.encryptionsdk.model.CipherHeader
 
serializeCipherBody(CipherBody) - Method in class com.aliyun.encryptionsdk.handler.Asn1FormatHandler
 
serializeCipherBody(CipherBody) - Method in interface com.aliyun.encryptionsdk.handler.FormatHandler
 
serializeCipherHeader(CipherHeader) - Method in class com.aliyun.encryptionsdk.handler.Asn1FormatHandler
 
serializeCipherHeader(CipherHeader) - Method in interface com.aliyun.encryptionsdk.handler.FormatHandler
 
setAlgorithm(CryptoAlgorithm) - Method in class com.aliyun.encryptionsdk.model.CipherHeader
 
setAlgorithm(CryptoAlgorithm) - Method in class com.aliyun.encryptionsdk.model.DecryptionMaterial
 
setAlgorithm(CryptoAlgorithm) - Method in class com.aliyun.encryptionsdk.model.EncryptionMaterial
 
setAlgorithm(CryptoAlgorithm) - Method in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
 
setAliyunKms(AliyunKms) - Method in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
 
setAliyunKms(AliyunKms) - Method in class com.aliyun.encryptionsdk.provider.KmsAsymmetricKeyProvider
 
setAliyunKms(AliyunKms) - Method in interface com.aliyun.encryptionsdk.provider.SignatureProvider
 
setBackoffStrategy(BackoffStrategy) - Method in class com.aliyun.encryptionsdk.AliyunConfig
 
setConfig(AliyunConfig) - Method in class com.aliyun.encryptionsdk.AliyunCrypto
 
setCryptoKeyManager(CryptoKeyManager) - Method in class com.aliyun.encryptionsdk.AliyunCrypto
 
setDigest(byte[]) - Method in class com.aliyun.encryptionsdk.model.SignatureMaterial
 
setDigest(byte[]) - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
setEncryptedDataKeys(List<EncryptedDataKey>) - Method in class com.aliyun.encryptionsdk.model.EncryptionMaterial
 
setEncryptHandler(EncryptHandler) - Method in class com.aliyun.encryptionsdk.AliyunCrypto
 
setEncryptionContext(Map<String, String>) - Method in class com.aliyun.encryptionsdk.model.DecryptionMaterial
 
setEncryptionContext(Map<String, String>) - Method in class com.aliyun.encryptionsdk.model.EncryptionMaterial
 
setFormatHandler(FormatHandler) - Method in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
 
setHeaderIv(byte[]) - Method in class com.aliyun.encryptionsdk.model.CipherHeader
 
setKeyId(String) - Method in class com.aliyun.encryptionsdk.model.SignatureMaterial
 
setKeyId(String) - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
setKeyVersionId(String) - Method in class com.aliyun.encryptionsdk.model.SignatureMaterial
 
setKeyVersionId(String) - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
setMaxEncryptionBytes(long) - Method in class com.aliyun.encryptionsdk.ckm.CachingCryptoKeyManager
 
setMaxEncryptionMessages(long) - Method in class com.aliyun.encryptionsdk.ckm.CachingCryptoKeyManager
 
setMaxRetries(int) - Method in class com.aliyun.encryptionsdk.AliyunConfig
 
setMaxSurvivalTime(long) - Method in class com.aliyun.encryptionsdk.ckm.CachingCryptoKeyManager
 
setMessage(byte[]) - Method in class com.aliyun.encryptionsdk.model.SignatureMaterial
 
setMessage(byte[]) - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
setMultiCmkId(List<String>) - Method in class com.aliyun.encryptionsdk.provider.BaseDataKeyProvider
 
setPlaintextDataKey(SecretKey) - Method in class com.aliyun.encryptionsdk.model.DecryptionMaterial
 
setPlaintextDataKey(SecretKey) - Method in class com.aliyun.encryptionsdk.model.EncryptionMaterial
 
setProvider(AlibabaCloudCredentialsProvider) - Method in class com.aliyun.encryptionsdk.AliyunConfig
 
setSignature(byte[]) - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
setSignatureAlgorithm(SignatureAlgorithm) - Method in class com.aliyun.encryptionsdk.model.SignatureMaterial
 
setSignatureAlgorithm(SignatureAlgorithm) - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
setValue(String) - Method in class com.aliyun.encryptionsdk.model.SignatureMaterial
 
setValue(Boolean) - Method in class com.aliyun.encryptionsdk.model.VerifyMaterial
 
sign(SignatureProvider, byte[], ContentType) - Method in class com.aliyun.encryptionsdk.AliyunCrypto
使用 SignatureProvider 处理加签请求
sign(SignatureMaterial) - Method in class com.aliyun.encryptionsdk.provider.KmsAsymmetricKeyProvider
 
sign(SignatureMaterial) - Method in interface com.aliyun.encryptionsdk.provider.SignatureProvider
 
SignatureAlgorithm - Enum in com.aliyun.encryptionsdk.model
KMS非对称密钥签名算法,详情请参考: https://help.aliyun.com/document_detail/148132.html?spm=a2c4g.11186623.6.631.3fd17338YrLWEL
SignatureMaterial - Class in com.aliyun.encryptionsdk.model
 
SignatureMaterial() - Constructor for class com.aliyun.encryptionsdk.model.SignatureMaterial
 
SignatureProvider - Interface in com.aliyun.encryptionsdk.provider
非对称密钥进行数据签名验签接口
SignatureResult<T> - Class in com.aliyun.encryptionsdk.model
 
SignatureResult(T) - Constructor for class com.aliyun.encryptionsdk.model.SignatureResult
 

T

toByteArray() - Method in class com.aliyun.encryptionsdk.model.EncryptedDataKey
 
toString() - Method in class com.aliyun.encryptionsdk.cache.DataKeyCache.UsageInfo
 
tracef(String, Object...) - Method in class com.aliyun.encryptionsdk.logger.CommonLogger
 

U

UnFoundDataKeyException - Exception in com.aliyun.encryptionsdk.exception
未获取到DataKey时抛出此异常
UnFoundDataKeyException() - Constructor for exception com.aliyun.encryptionsdk.exception.UnFoundDataKeyException
 
UnFoundDataKeyException(String) - Constructor for exception com.aliyun.encryptionsdk.exception.UnFoundDataKeyException
 
UnFoundDataKeyException(String, Throwable) - Constructor for exception com.aliyun.encryptionsdk.exception.UnFoundDataKeyException
 
UsageInfo(long, long) - Constructor for class com.aliyun.encryptionsdk.cache.DataKeyCache.UsageInfo
 

V

valueOf(String) - Static method in enum com.aliyun.encryptionsdk.model.ContentType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.aliyun.encryptionsdk.model.SignatureAlgorithm
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.aliyun.encryptionsdk.model.ContentType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.aliyun.encryptionsdk.model.CryptoAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.aliyun.encryptionsdk.model.SignatureAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
verify(SignatureProvider, byte[], byte[], ContentType) - Method in class com.aliyun.encryptionsdk.AliyunCrypto
使用 SignatureProvider 处理验签请求
verify(VerifyMaterial) - Method in class com.aliyun.encryptionsdk.provider.KmsAsymmetricKeyProvider
 
verify(VerifyMaterial) - Method in interface com.aliyun.encryptionsdk.provider.SignatureProvider
 
VerifyMaterial - Class in com.aliyun.encryptionsdk.model
 
VerifyMaterial() - Constructor for class com.aliyun.encryptionsdk.model.VerifyMaterial
 

W

warnf(String, Object...) - Method in class com.aliyun.encryptionsdk.logger.CommonLogger
 
withAccessKey(String, String) - Method in class com.aliyun.encryptionsdk.AliyunConfig
 
withEcsRamRole(String) - Method in class com.aliyun.encryptionsdk.AliyunConfig
 
withRamRoleArnOrSts(String, String, String, String) - Method in class com.aliyun.encryptionsdk.AliyunConfig
 
withToken(String, String, String) - Method in class com.aliyun.encryptionsdk.AliyunConfig
 
A B C D E F G H I J K L M P R S T U V W 
Skip navigation links

Copyright © 2020. All rights reserved.