本文整理汇总了Java中javax.crypto.ShortBufferException.getMessage方法的典型用法代码示例。如果您正苦于以下问题:Java ShortBufferException.getMessage方法的具体用法?Java ShortBufferException.getMessage怎么用?Java ShortBufferException.getMessage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类javax.crypto.ShortBufferException
的用法示例。
在下文中一共展示了ShortBufferException.getMessage方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: engineDigest
import javax.crypto.ShortBufferException; //导入方法依赖的package包/类
@Override
protected byte[] engineDigest() {
byte[] digest = new byte[Sha384.DIGEST_SIZE];
try {
this.sha.digest(digest);
} catch (ShortBufferException e) {
throw new RuntimeException(e.getMessage());
}
if (debug.DEBUG)
log("generated final digest, len: " + digest.length);
return digest;
}
示例2: engineDigest
import javax.crypto.ShortBufferException; //导入方法依赖的package包/类
@Override
protected byte[] engineDigest() {
byte[] digest = new byte[Sha256.DIGEST_SIZE];
try {
this.sha.digest(digest);
} catch (ShortBufferException e) {
throw new RuntimeException(e.getMessage());
}
if (debug.DEBUG)
log("generated final digest, len: " + digest.length);
return digest;
}
示例3: engineDigest
import javax.crypto.ShortBufferException; //导入方法依赖的package包/类
@Override
protected byte[] engineDigest() {
byte[] digest = new byte[Sha512.DIGEST_SIZE];
try {
this.sha.digest(digest);
} catch (ShortBufferException e) {
throw new RuntimeException(e.getMessage());
}
if (debug.DEBUG)
log("generated final digest, len: " + digest.length);
return digest;
}
示例4: engineDigest
import javax.crypto.ShortBufferException; //导入方法依赖的package包/类
@Override
protected byte[] engineDigest() {
byte[] digest = new byte[Sha.DIGEST_SIZE];
try {
this.sha.digest(digest);
} catch (ShortBufferException e) {
throw new RuntimeException(e.getMessage());
}
if (debug.DEBUG)
log("generated final digest, len: " + digest.length);
return digest;
}
示例5: engineDigest
import javax.crypto.ShortBufferException; //导入方法依赖的package包/类
@Override
protected byte[] engineDigest() {
byte[] digest = new byte[Md5.DIGEST_SIZE];
try {
this.md5.digest(digest);
} catch (ShortBufferException e) {
throw new RuntimeException(e.getMessage());
}
if (debug.DEBUG)
log("generated final digest, len: " + digest.length);
return digest;
}