Home
last modified time | relevance | path

Searched refs:hashedPcks (Results 1 – 9 of 9) sorted by relevance

/dports/java/bouncycastle15/crypto-169/pg/src/main/java/org/bouncycastle/openpgp/
H A DPGPKeyRingGenerator.java27 private PGPSignatureSubpacketVector hashedPcks; field in PGPKeyRingGenerator
49 PGPSignatureSubpacketVector hashedPcks, in PGPKeyRingGenerator() argument
59 this.hashedPcks = hashedPcks; in PGPKeyRingGenerator()
102 this.hashedPcks = new PGPSignatureSubpacketVector( in PGPKeyRingGenerator()
120 addSubKey(keyPair, hashedPcks, unhashedPcks); in addSubKey()
137 addSubKey(keyPair, hashedPcks, unhashedPcks, bindingSignerBldr); in addSubKey()
151 PGPSignatureSubpacketVector hashedPcks, in addSubKey() argument
155 addSubKey(keyPair, hashedPcks, unhashedPcks, null); in addSubKey()
171 PGPSignatureSubpacketVector hashedPcks, in addSubKey() argument
192 … PGPSignatureSubpacketGenerator spGen = new PGPSignatureSubpacketGenerator(hashedPcks); in addSubKey()
[all …]
H A DPGPSecretKey.java193 PGPSignatureSubpacketVector hashedPcks, in PGPSecretKey() argument
199 …this(certificationLevel, keyPair, id, null, hashedPcks, unhashedPcks, certificationSignerBuilder, … in PGPSecretKey()
241 PGPSignatureSubpacketVector hashedPcks, in PGPSecretKey() argument
257 if (hashedPcks == null) in PGPSecretKey()
269 hashedPcks = subGen.generate(); in PGPSecretKey()
276 else if (!hashedPcks.hasSubpacket(SignatureSubpacketTags.EMBEDDED_SIGNATURE)) in PGPSecretKey()
282 sGen.setHashedSubpackets(hashedPcks); in PGPSecretKey()
317 PGPSignatureSubpacketVector hashedPcks, in PGPSecretKey() argument
323 …r.getPrivateKey(), certifiedPublicKey(certificationLevel, keyPair, id, hashedPcks, unhashedPcks, c… in PGPSecretKey()
330 PGPSignatureSubpacketVector hashedPcks, in certifiedPublicKey() argument
[all …]
H A DPGPSignatureGenerator.java153 PGPSignatureSubpacketVector hashedPcks) in setHashedSubpackets() argument
155 if (hashedPcks == null) in setHashedSubpackets()
161 hashed = hashedPcks.toSubpacketArray(); in setHashedSubpackets()
/dports/java/bouncycastle15/crypto-169/pg/src/main/j2me/org/bouncycastle/openpgp/
H A DPGPKeyRingGenerator.java23 private PGPSignatureSubpacketVector hashedPcks; field in PGPKeyRingGenerator
45 PGPSignatureSubpacketVector hashedPcks, in PGPKeyRingGenerator() argument
55 this.hashedPcks = hashedPcks; in PGPKeyRingGenerator()
58 …keys.add(new PGPSecretKey(certificationLevel, masterKey, id, checksumCalculator, hashedPcks, unhas… in PGPKeyRingGenerator()
72 addSubKey(keyPair, hashedPcks, unhashedPcks); in addSubKey()
86 PGPSignatureSubpacketVector hashedPcks, in addSubKey() argument
99 sGen.setHashedSubpackets(hashedPcks); in addSubKey()
H A DPGPSignatureGenerator.java200 PGPSignatureSubpacketVector hashedPcks) in setHashedSubpackets() argument
202 if (hashedPcks == null) in setHashedSubpackets()
208 hashed = hashedPcks.toSubpacketArray(); in setHashedSubpackets()
/dports/java/bouncycastle15/crypto-169/pg/src/test/java/org/bouncycastle/openpgp/test/
H A DPGPSignatureTest.java500 if (hashedPcks.size() != 6) in performTest()
507 isTrue(subPacks.length == hashedPcks.size()); in performTest()
537 prefAlgs = hashedPcks.getPreferredHashAlgorithms(); in performTest()
574 hashedPcks = sig.getHashedSubPackets(); in performTest()
576 if (hashedPcks.size() != 1) in performTest()
627 hashedPcks = sig.getHashedSubPackets(); in performTest()
629 if (hashedPcks.size() != 3) in performTest()
671 if (hashedPcks.getKeyExpirationTime() != 0) in performTest()
676 if (hashedPcks.getSignatureExpirationTime() != 0) in performTest()
681 if (hashedPcks.getSignerUserID() != null) in performTest()
[all …]
H A DPGPRSATest.java704 PGPSignatureSubpacketVector hashedPcks = svg.generate(); in sigsubpacketTest() local
708 …identity, sha1Calc, hashedPcks, unhashedPcks, new JcaPGPContentSignerBuilder(PGPPublicKey.RSA_SIGN… in sigsubpacketTest()
715 hashedPcks = svg.generate(); in sigsubpacketTest()
717 keyRingGen.addSubKey(encKeyPair, hashedPcks, unhashedPcks); in sigsubpacketTest()
820 PGPSignatureSubpacketVector hashedPcks = svg.generate(); in multipleExpiryTest() local
825 …sha1Calc, hashedPcks, unhashedPcks, new JcaPGPContentSignerBuilder(sgnKeyPair.getPublicKey().getAl… in multipleExpiryTest()
832 hashedPcks = svg.generate(); in multipleExpiryTest()
834 keyRingGen.addSubKey(encKeyPair, hashedPcks, unhashedPcks); in multipleExpiryTest()
H A DBcPGPRSATest.java663 PGPSignatureSubpacketVector hashedPcks = svg.generate(); in sigsubpacketTest() local
667hashedPcks, unhashedPcks, new BcPGPContentSignerBuilder(PGPPublicKey.RSA_GENERAL, HashAlgorithmTag… in sigsubpacketTest()
674 hashedPcks = svg.generate(); in sigsubpacketTest()
676 keyRingGen.addSubKey(encKeyPair, hashedPcks, unhashedPcks); in sigsubpacketTest()
/dports/java/bouncycastle15/crypto-169/pg/src/test/j2me/org/bouncycastle/openpgp/test/
H A DBcPGPRSATest.java664 PGPSignatureSubpacketVector hashedPcks = svg.generate(); in sigsubpacketTest() local
668hashedPcks, unhashedPcks, new BcPGPContentSignerBuilder(PGPPublicKey.RSA_GENERAL, HashAlgorithmTag… in sigsubpacketTest()
675 hashedPcks = svg.generate(); in sigsubpacketTest()
677 keyRingGen.addSubKey(encKeyPair, hashedPcks, unhashedPcks); in sigsubpacketTest()