Class SHA512.Digest
- java.lang.Object
-
- java.security.MessageDigestSpi
-
- java.security.MessageDigest
-
- org.bouncycastle.jcajce.provider.digest.BCMessageDigest
-
- org.bouncycastle.jcajce.provider.digest.SHA512.Digest
-
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- SHA512
public static class SHA512.Digest extends BCMessageDigest implements Cloneable
-
-
Field Summary
-
Fields inherited from class org.bouncycastle.jcajce.provider.digest.BCMessageDigest
digest
-
-
Constructor Summary
Constructors Constructor Description Digest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Creates and returns a copy of thisObject.-
Methods inherited from class org.bouncycastle.jcajce.provider.digest.BCMessageDigest
engineDigest, engineReset, engineUpdate, engineUpdate
-
Methods inherited from class java.security.MessageDigest
digest, digest, digest, getAlgorithm, getDigestLength, getInstance, getInstance, getInstance, getProvider, isEqual, reset, toString, update, update, update, update
-
Methods inherited from class java.security.MessageDigestSpi
engineDigest, engineGetDigestLength, engineUpdate
-
-
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
Description copied from class:ObjectCreates and returns a copy of thisObject. The default implementation returns a so-called "shallow" copy: It creates a new instance of the same class and then copies the field values (including object references) from this instance to the new instance. A "deep" copy, in contrast, would also recursively clone nested objects. A subclass that needs to implement this kind of cloning should callsuper.clone()to create the new instance and then create deep copies of the nested, mutable objects.- Overrides:
clonein classMessageDigestSpi- Returns:
- a copy of this object.
- Throws:
CloneNotSupportedException- if this object's class does not implement theCloneableinterface.
-
-