public class SHABasicDigestCreator extends AbstractSHADigestCreator implements SHADigestCreator
DEFAULT_DIGEST_ALGORITHM, DEFAULT_DIGEST_VERSION
Constructor and Description |
---|
SHABasicDigestCreator() |
SHABasicDigestCreator(String digestAlgorithm,
Integer digestLength) |
Modifier and Type | Method and Description |
---|---|
SHADigest |
create(byte[] normalizedSerialization,
ContextNode contextNode) |
static String |
getPrivateKeyAlgorithm(PrivateKey privateKey) |
static Integer |
getPrivateKeyLength(PrivateKey privateKey) |
void |
setValue(byte[] normalizedSerialization,
SHADigest digest) |
getDigestAlgorithm, getDigestVersion, setDigestAlgorithm, setDigestVersion
canCreate, createDigest, createDigest
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDigestAlgorithm, getDigestVersion, setDigestAlgorithm, setDigestVersion
canCreate, createDigest, createDigest
public SHADigest create(byte[] normalizedSerialization, ContextNode contextNode) throws GeneralSecurityException
create
in class AbstractDigestCreator<SHADigest>
GeneralSecurityException
public void setValue(byte[] normalizedSerialization, SHADigest digest) throws GeneralSecurityException
setValue
in class AbstractDigestCreator<SHADigest>
GeneralSecurityException
public static String getPrivateKeyAlgorithm(PrivateKey privateKey)
public static Integer getPrivateKeyLength(PrivateKey privateKey)
Copyright © 2017. All rights reserved.