File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
core/src/main/java/org/bouncycastle/crypto Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1+ package org .bouncycastle .crypto ;
2+
3+ import org .bouncycastle .crypto .digests .EncodableDigest ;
4+ import org .bouncycastle .util .Memoable ;
5+
6+ /**
7+ * Extended digest which provides the ability to store state and
8+ * provide an encoding.
9+ */
10+ public interface SavableDigest
11+ extends ExtendedDigest , EncodableDigest , Memoable
12+ {
13+ }
Original file line number Diff line number Diff line change 44import org .bouncycastle .crypto .CryptoServiceProperties ;
55import org .bouncycastle .crypto .CryptoServicePurpose ;
66import org .bouncycastle .crypto .CryptoServicesRegistrar ;
7+ import org .bouncycastle .crypto .SavableDigest ;
78import org .bouncycastle .util .Memoable ;
89import org .bouncycastle .util .Pack ;
910
2122 */
2223public class SHA256Digest
2324 extends GeneralDigest
24- implements EncodableDigest
25+ implements SavableDigest
2526{
2627 private static final int DIGEST_LENGTH = 32 ;
2728
You can’t perform that action at this time.
0 commit comments