/dports/java/bouncycastle15/crypto-169/pg/src/main/java/org/bouncycastle/openpgp/ |
H A D | PGPKeyRingGenerator.java | 27 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 D | PGPSecretKey.java | 193 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 D | PGPSignatureGenerator.java | 153 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 D | PGPKeyRingGenerator.java | 23 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 D | PGPSignatureGenerator.java | 200 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 D | PGPSignatureTest.java | 500 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 D | PGPRSATest.java | 704 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 D | BcPGPRSATest.java | 663 PGPSignatureSubpacketVector hashedPcks = svg.generate(); in sigsubpacketTest() local 667 …hashedPcks, 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 D | BcPGPRSATest.java | 664 PGPSignatureSubpacketVector hashedPcks = svg.generate(); in sigsubpacketTest() local 668 …hashedPcks, unhashedPcks, new BcPGPContentSignerBuilder(PGPPublicKey.RSA_GENERAL, HashAlgorithmTag… in sigsubpacketTest() 675 hashedPcks = svg.generate(); in sigsubpacketTest() 677 keyRingGen.addSubKey(encKeyPair, hashedPcks, unhashedPcks); in sigsubpacketTest()
|