/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/its/asn1/ |
D | HashAlgorithm.java | 13 public class HashAlgorithm class 16 public static final HashAlgorithm sha256 = new HashAlgorithm(0); 17 public static final HashAlgorithm sha384 = new HashAlgorithm(1); 20 protected HashAlgorithm(int ordinal) in HashAlgorithm() method in HashAlgorithm 25 private HashAlgorithm(ASN1Enumerated enumerated) in HashAlgorithm() method in HashAlgorithm 30 public HashAlgorithm getInstance(Object src) in getInstance() 36 else if (src instanceof HashAlgorithm) in getInstance() 38 return (HashAlgorithm)src; in getInstance() 42 return new HashAlgorithm(ASN1Enumerated.getInstance(src)); in getInstance()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/its/asn1/ |
D | HashAlgorithm.java | 15 public class HashAlgorithm class 18 public static final HashAlgorithm sha256 = new HashAlgorithm(0); 19 public static final HashAlgorithm sha384 = new HashAlgorithm(1); 22 protected HashAlgorithm(int ordinal) in HashAlgorithm() method in HashAlgorithm 27 private HashAlgorithm(ASN1Enumerated enumerated) in HashAlgorithm() method in HashAlgorithm 32 public HashAlgorithm getInstance(Object src) in getInstance() 38 else if (src instanceof HashAlgorithm) in getInstance() 40 return (HashAlgorithm)src; in getInstance() 44 return new HashAlgorithm(ASN1Enumerated.getInstance(src)); in getInstance()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/its/asn1/ |
D | HashAlgorithm.java | 15 public class HashAlgorithm class 18 public static final HashAlgorithm sha256 = new HashAlgorithm(0); 19 public static final HashAlgorithm sha384 = new HashAlgorithm(1); 22 protected HashAlgorithm(int ordinal) in HashAlgorithm() method in HashAlgorithm 27 private HashAlgorithm(ASN1Enumerated enumerated) in HashAlgorithm() method in HashAlgorithm 32 public HashAlgorithm getInstance(Object src) in getInstance() 38 else if (src instanceof HashAlgorithm) in getInstance() 40 return (HashAlgorithm)src; in getInstance() 44 return new HashAlgorithm(ASN1Enumerated.getInstance(src)); in getInstance()
|
/external/python/cryptography/src/cryptography/hazmat/primitives/ |
D | hashes.py | 19 class HashAlgorithm(object): class 76 if not isinstance(algorithm, HashAlgorithm): 110 @utils.register_interface(HashAlgorithm) 117 @utils.register_interface(HashAlgorithm) 124 @utils.register_interface(HashAlgorithm) 131 @utils.register_interface(HashAlgorithm) 138 @utils.register_interface(HashAlgorithm) 145 @utils.register_interface(HashAlgorithm) 152 @utils.register_interface(HashAlgorithm) 159 @utils.register_interface(HashAlgorithm) [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ct/ |
D | DigitallySigned.java | 28 public enum HashAlgorithm { enum in DigitallySigned 37 private static HashAlgorithm[] values = values(); 38 public static HashAlgorithm valueOf(int ord) { in valueOf() 63 private final HashAlgorithm hashAlgorithm; 67 public DigitallySigned(HashAlgorithm hashAlgorithm, in DigitallySigned() 79 HashAlgorithm.valueOf(hashAlgorithm), in DigitallySigned() 85 public HashAlgorithm getHashAlgorithm() { in getHashAlgorithm()
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ct/ |
D | DigitallySigned.java | 33 public enum HashAlgorithm { enum in DigitallySigned 42 private static HashAlgorithm[] values = values(); 43 public static HashAlgorithm valueOf(int ord) { in valueOf() 71 private final HashAlgorithm hashAlgorithm; 75 public DigitallySigned(HashAlgorithm hashAlgorithm, in DigitallySigned() 87 HashAlgorithm.valueOf(hashAlgorithm), in DigitallySigned() 93 public HashAlgorithm getHashAlgorithm() { in getHashAlgorithm()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
D | PKWareExtraHeader.java | 259 public enum HashAlgorithm { enum in PKWareExtraHeader 271 private static final Map<Integer, HashAlgorithm> codeToEnum; 274 final Map<Integer, HashAlgorithm> cte = new HashMap<>(); 275 for (final HashAlgorithm method : values()) { 284 HashAlgorithm(final int code) { in HashAlgorithm() method in PKWareExtraHeader.HashAlgorithm 304 public static HashAlgorithm getAlgorithmByCode(final int code) { in getAlgorithmByCode()
|
D | X0016_CertificateIdForCentralDirectory.java | 52 private HashAlgorithm hashAlg; 66 public HashAlgorithm getHashAlgorithm() { in getHashAlgorithm() 73 this.hashAlg = HashAlgorithm.getAlgorithmByCode(ZipShort.getValue(data, offset + 2)); in parseFromCentralDirectoryData()
|
D | X0015_CertificateIdForFile.java | 51 private HashAlgorithm hashAlg; 65 public HashAlgorithm getHashAlgorithm() { in getHashAlgorithm() 73 this.hashAlg = HashAlgorithm.getAlgorithmByCode(ZipShort.getValue(data, offset + 2)); in parseFromCentralDirectoryData()
|
D | X0017_StrongEncryptionHeader.java | 256 private HashAlgorithm hashAlg; 283 public HashAlgorithm getHashAlgorithm() { in getHashAlgorithm() 310 this.hashAlg = HashAlgorithm.getAlgorithmByCode(ZipShort.getValue(data, offset + 12)); in parseCentralDirectoryFormat() 353 …this.hashAlg = HashAlgorithm.getAlgorithmByCode(ZipShort.getValue(data, offset + ivSize + 20 + erd… in parseFileFormat()
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | PkWareExtraHeaderTest.java | 25 import org.apache.commons.compress.archivers.zip.PKWareExtraHeader.HashAlgorithm; 40 int code = HashAlgorithm.SHA256.getCode(); in testHashAlgorithm() 41 HashAlgorithm e = HashAlgorithm.valueOf(name); in testHashAlgorithm()
|
/external/libchrome/crypto/ |
D | signature_creator.h | 29 enum HashAlgorithm { enum 40 HashAlgorithm hash_alg); 45 HashAlgorithm hash_alg,
|
D | hmac.h | 29 enum HashAlgorithm { enum 34 explicit HMAC(HashAlgorithm hash_alg); 88 HashAlgorithm hash_alg_;
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | CodeViewYAMLTypeHashing.cpp | 31 io.mapRequired("HashAlgorithm", DebugH.HashAlgorithm); in mapping() 56 cantFail(Reader.readInteger(DHS.HashAlgorithm)); in fromDebugH() 76 cantFail(Writer.writeInteger(DebugH.HashAlgorithm)); in toDebugH()
|
/external/llvm-project/llvm/lib/ObjectYAML/ |
D | CodeViewYAMLTypeHashing.cpp | 31 io.mapRequired("HashAlgorithm", DebugH.HashAlgorithm); in mapping() 56 cantFail(Reader.readInteger(DHS.HashAlgorithm)); in fromDebugH() 76 cantFail(Writer.writeInteger(DebugH.HashAlgorithm)); in toDebugH()
|
/external/avb/proto/crypto/sigpb/ |
D | sigpb.proto | 23 // HashAlgorithm defines the approved methods for object hashing. 28 enum HashAlgorithm { enum 52 HashAlgorithm hash_algorithm = 1;
|
/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/ |
D | padding.py | 54 if not isinstance(algorithm, hashes.HashAlgorithm): 66 if not isinstance(algorithm, hashes.HashAlgorithm):
|
/external/openscreen/cast/common/channel/proto/ |
D | cast_channel.proto | 83 enum HashAlgorithm { enum 93 optional HashAlgorithm hash_algorithm = 3 [default = SHA1]; 103 optional HashAlgorithm hash_algorithm = 6 [default = SHA1];
|
/external/conscrypt/common/src/test/java/org/conscrypt/ct/ |
D | SerializationTest.java | 52 assertEquals(DigitallySigned.HashAlgorithm.SHA256, in test_decode_SignedCertificateTimestamp() 103 assertEquals(DigitallySigned.HashAlgorithm.SHA256, dst.getHashAlgorithm()); in test_decode_DigitallySigned()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/ct/ |
D | SerializationTest.java | 56 assertEquals(DigitallySigned.HashAlgorithm.SHA256, in test_decode_SignedCertificateTimestamp() 107 assertEquals(DigitallySigned.HashAlgorithm.SHA256, dst.getHashAlgorithm()); in test_decode_DigitallySigned()
|
/external/python/cryptography/docs/hazmat/primitives/mac/ |
D | hmac.rst | 21 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` instance. 42 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` instance 60 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/ |
D | chunk.h | 21 extern Checksum HashAlgorithm; 34 if (HashAlgorithm == Checksum::HardwareCRC32) { in computeChecksum()
|
/external/scudo/standalone/ |
D | chunk.h | 21 extern Checksum HashAlgorithm; 34 if (HashAlgorithm == Checksum::HardwareCRC32) { in computeChecksum()
|
/external/openscreen/cast/receiver/channel/ |
D | device_auth_namespace_handler.cc | 25 using ::cast::channel::HashAlgorithm; 87 HashAlgorithm hash_alg = challenge.hash_algorithm(); in OnMessage()
|
/external/python/cryptography/docs/hazmat/backends/ |
D | interfaces.rst | 92 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`. 105 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`. 125 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`. 140 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`. 187 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`. 195 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`. 329 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`. 550 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` 570 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` 589 :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`
|