Home
last modified time | relevance | path

Searched refs:encAlgorithm (Results 1 – 25 of 172) sorted by relevance

1234567

/dports/java/bouncycastle15/crypto-169/pg/src/main/java/org/bouncycastle/bcpg/
H A DSecretKeyPacket.java19 private int encAlgorithm; field in SecretKeyPacket
45 encAlgorithm = in.read(); in SecretKeyPacket()
50 encAlgorithm = s2kUsage; in SecretKeyPacket()
57 if (encAlgorithm < 7) in SecretKeyPacket()
82 int encAlgorithm, in SecretKeyPacket() argument
88 this.encAlgorithm = encAlgorithm; in SecretKeyPacket()
90 if (encAlgorithm != SymmetricKeyAlgorithmTags.NULL) in SecretKeyPacket()
106 int encAlgorithm, in SecretKeyPacket() argument
113 this.encAlgorithm = encAlgorithm; in SecretKeyPacket()
122 return encAlgorithm; in getEncAlgorithm()
[all …]
H A DSymmetricKeyEncSessionPacket.java14 private int encAlgorithm; field in SymmetricKeyEncSessionPacket
23 encAlgorithm = in.read(); in SymmetricKeyEncSessionPacket()
31 int encAlgorithm, in SymmetricKeyEncSessionPacket() argument
36 this.encAlgorithm = encAlgorithm; in SymmetricKeyEncSessionPacket()
46 return encAlgorithm; in getEncAlgorithm()
81 pOut.write(encAlgorithm); in encode()
H A DSecretSubkeyPacket.java33 int encAlgorithm, in SecretSubkeyPacket() argument
38 super(pubKeyPacket, encAlgorithm, s2k, iv, secKeyData); in SecretSubkeyPacket()
43 int encAlgorithm, in SecretSubkeyPacket() argument
49 super(pubKeyPacket, encAlgorithm, s2kUsage, s2k, iv, secKeyData); in SecretSubkeyPacket()
/dports/java/bouncycastle15/crypto-169/pg/src/main/java/org/bouncycastle/openpgp/operator/jcajce/
H A DJcePBESecretKeyEncryptorBuilder.java24 private int encAlgorithm; field in JcePBESecretKeyEncryptorBuilder
29 public JcePBESecretKeyEncryptorBuilder(int encAlgorithm) in JcePBESecretKeyEncryptorBuilder() argument
31 this(encAlgorithm, new SHA1PGPDigestCalculator()); in JcePBESecretKeyEncryptorBuilder()
40 public JcePBESecretKeyEncryptorBuilder(int encAlgorithm, int s2kCount) in JcePBESecretKeyEncryptorBuilder() argument
42 this(encAlgorithm, new SHA1PGPDigestCalculator(), s2kCount); in JcePBESecretKeyEncryptorBuilder()
52 … public JcePBESecretKeyEncryptorBuilder(int encAlgorithm, PGPDigestCalculator s2kDigestCalculator) in JcePBESecretKeyEncryptorBuilder() argument
54 this(encAlgorithm, s2kDigestCalculator, 0x60); in JcePBESecretKeyEncryptorBuilder()
65 …public JcePBESecretKeyEncryptorBuilder(int encAlgorithm, PGPDigestCalculator s2kDigestCalculator, … in JcePBESecretKeyEncryptorBuilder() argument
67 this.encAlgorithm = encAlgorithm; in JcePBESecretKeyEncryptorBuilder()
112 … return new PBESecretKeyEncryptor(encAlgorithm, s2kDigestCalculator, s2kCount, random, passPhrase) in build()
[all …]
H A DJcePGPDataEncryptorBuilder.java37 private int encAlgorithm; field in JcePGPDataEncryptorBuilder
45 public JcePGPDataEncryptorBuilder(int encAlgorithm) in JcePGPDataEncryptorBuilder() argument
47 this.encAlgorithm = encAlgorithm; in JcePGPDataEncryptorBuilder()
49 if (encAlgorithm == 0) in JcePGPDataEncryptorBuilder()
111 return encAlgorithm; in getAlgorithm()
138 c = helper.createStreamCipher(encAlgorithm, withIntegrityPacket); in MyPGPDataEncryptor()
146 …c.init(Cipher.ENCRYPT_MODE, JcaJcePGPUtil.makeSymmetricKey(encAlgorithm, keyBytes), new IvParamete… in MyPGPDataEncryptor()
150 … c.init(Cipher.ENCRYPT_MODE, JcaJcePGPUtil.makeSymmetricKey(encAlgorithm, keyBytes)); in MyPGPDataEncryptor()
H A DOperatorHelper.java118 PGPDataDecryptor createDataDecryptor(boolean withIntegrityPacket, int encAlgorithm, byte[] key) in createDataDecryptor() argument
123 … SecretKey secretKey = new SecretKeySpec(key, PGPUtil.getSymmetricCipherName(encAlgorithm)); in createDataDecryptor()
125 final Cipher c = createStreamCipher(encAlgorithm, withIntegrityPacket); in createDataDecryptor()
166 Cipher createStreamCipher(int encAlgorithm, boolean withIntegrityPacket)
173 String cName = PGPUtil.getSymmetricCipherName(encAlgorithm)
192 Cipher createPublicKeyCipher(int encAlgorithm)
195 switch (encAlgorithm)
210 throw new PGPException("unknown asymmetric algorithm: " + encAlgorithm);
214 Cipher createKeyWrapper(int encAlgorithm)
219 switch (encAlgorithm)
[all …]
/dports/java/bouncycastle15/crypto-169/pg/src/main/java/org/bouncycastle/openpgp/operator/bc/
H A DBcPBESecretKeyEncryptorBuilder.java14 private int encAlgorithm; field in BcPBESecretKeyEncryptorBuilder
19 public BcPBESecretKeyEncryptorBuilder(int encAlgorithm) in BcPBESecretKeyEncryptorBuilder() argument
21 this(encAlgorithm, new SHA1PGPDigestCalculator()); in BcPBESecretKeyEncryptorBuilder()
30 public BcPBESecretKeyEncryptorBuilder(int encAlgorithm, int s2kCount) in BcPBESecretKeyEncryptorBuilder() argument
32 this(encAlgorithm, new SHA1PGPDigestCalculator(), s2kCount); in BcPBESecretKeyEncryptorBuilder()
42 public BcPBESecretKeyEncryptorBuilder(int encAlgorithm, PGPDigestCalculator s2kDigestCalculator) in BcPBESecretKeyEncryptorBuilder() argument
44 this(encAlgorithm, s2kDigestCalculator, 0x60); in BcPBESecretKeyEncryptorBuilder()
55 …public BcPBESecretKeyEncryptorBuilder(int encAlgorithm, PGPDigestCalculator s2kDigestCalculator, i… in BcPBESecretKeyEncryptorBuilder() argument
57 this.encAlgorithm = encAlgorithm; in BcPBESecretKeyEncryptorBuilder()
88 …return new PBESecretKeyEncryptor(encAlgorithm, s2kDigestCalculator, s2kCount, this.random, passPhr… in build()
[all …]
H A DBcPGPDataEncryptorBuilder.java24 private int encAlgorithm; field in BcPGPDataEncryptorBuilder
32 public BcPGPDataEncryptorBuilder(int encAlgorithm) in BcPGPDataEncryptorBuilder() argument
34 this.encAlgorithm = encAlgorithm; in BcPGPDataEncryptorBuilder()
36 if (encAlgorithm == 0) in BcPGPDataEncryptorBuilder()
72 return encAlgorithm; in getAlgorithm()
99 BlockCipher engine = BcImplProvider.createBlockCipher(encAlgorithm); in MyPGPDataEncryptor()
H A DBcImplProvider.java93 static BlockCipher createBlockCipher(int encAlgorithm) in createBlockCipher() argument
98 switch (encAlgorithm) in createBlockCipher()
135 static Wrapper createWrapper(int encAlgorithm) in createWrapper() argument
138 switch (encAlgorithm) in createWrapper()
149 throw new PGPException("unknown wrap algorithm: " + encAlgorithm); in createWrapper()
153 static AsymmetricBlockCipher createPublicKeyCipher(int encAlgorithm) in createPublicKeyCipher() argument
158 switch (encAlgorithm) in createPublicKeyCipher()
175 throw new PGPException("unknown asymmetric algorithm: " + encAlgorithm); in createPublicKeyCipher()
/dports/java/bouncycastle15/crypto-169/pg/src/main/java/org/bouncycastle/openpgp/operator/
H A DPBESecretKeyEncryptor.java10 protected int encAlgorithm; field in PBESecretKeyEncryptor
18 …protected PBESecretKeyEncryptor(int encAlgorithm, PGPDigestCalculator s2kDigestCalculator, SecureR… in PBESecretKeyEncryptor() argument
20 this(encAlgorithm, s2kDigestCalculator, 0x60, random, passPhrase); in PBESecretKeyEncryptor()
23 …protected PBESecretKeyEncryptor(int encAlgorithm, PGPDigestCalculator s2kDigestCalculator, int s2k… in PBESecretKeyEncryptor() argument
25 this.encAlgorithm = encAlgorithm; in PBESecretKeyEncryptor()
40 return encAlgorithm; in getAlgorithm()
56 return PGPUtil.makeKeyFromPassPhrase(s2kDigestCalculator, encAlgorithm, s2k, passPhrase); in getKey()
H A DPBEKeyEncryptionMethodGenerator.java93 public byte[] getKey(int encAlgorithm) in getKey() argument
110 return PGPUtil.makeKeyFromPassPhrase(s2kDigestCalculator, encAlgorithm, s2k, passPhrase); in getKey()
113 public ContainedPacket generate(int encAlgorithm, byte[] sessionInfo) in generate() argument
116 byte[] key = getKey(encAlgorithm); in generate()
120 return new SymmetricKeyEncSessionPacket(encAlgorithm, s2k, null); in generate()
130 …return new SymmetricKeyEncSessionPacket(encAlgorithm, s2k, encryptSessionInfo(encAlgorithm, key, n… in generate()
133 abstract protected byte[] encryptSessionInfo(int encAlgorithm, byte[] key, byte[] sessionInfo) in encryptSessionInfo() argument
/dports/java/bouncycastle15/crypto-169/pg/src/main/jdk1.1/org/bouncycastle/openpgp/operator/jcajce/
H A DOperatorHelper.java111 PGPDataDecryptor createDataDecryptor(boolean withIntegrityPacket, int encAlgorithm, byte[] key) in createDataDecryptor() argument
116 … SecretKey secretKey = new SecretKeySpec(key, PGPUtil.getSymmetricCipherName(encAlgorithm)); in createDataDecryptor()
118 final Cipher c = createStreamCipher(encAlgorithm, withIntegrityPacket); in createDataDecryptor()
159 Cipher createStreamCipher(int encAlgorithm, boolean withIntegrityPacket)
166 String cName = PGPUtil.getSymmetricCipherName(encAlgorithm)
193 Cipher createPublicKeyCipher(int encAlgorithm)
196 switch (encAlgorithm)
209 throw new PGPException("unknown asymmetric algorithm: " + encAlgorithm);
213 Cipher createKeyWrapper(int encAlgorithm)
218 switch (encAlgorithm)
[all …]
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/poppler/poppler/
H A DParser.cc56 CryptAlgorithm encAlgorithm, int keyLength, in getObj() argument
59 return getObj(obj, fileKey, encAlgorithm, keyLength, objNum, objGen, &fetchOriginatorNums); in getObj()
68 CryptAlgorithm encAlgorithm, int keyLength, in getObj() argument
92 obj->arrayAdd(getObj(&obj2, fileKey, encAlgorithm, keyLength, in getObj()
114 …obj->dictAdd(key, getObj(&obj2, fileKey, encAlgorithm, keyLength, objNum, objGen, fetchOriginatorN… in getObj()
122 if ((str = makeStream(obj, fileKey, encAlgorithm, keyLength, in getObj()
152 fileKey, encAlgorithm, keyLength, in getObj()
176 CryptAlgorithm encAlgorithm, int keyLength, in makeStream() argument
249 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, in makeStream()
/dports/graphics/poppler/poppler-21.12.0/poppler/
H A DParser.cc70 …ring(const GooString *s, const unsigned char *fileKey, CryptAlgorithm encAlgorithm, int keyLength,… in decryptedString() argument
72 …w MemStream(s->c_str(), 0, s->getLength(), Object(objNull)), fileKey, encAlgorithm, keyLength, { o… in decryptedString()
82 Object Parser::getObj(bool simpleOnly, const unsigned char *fileKey, CryptAlgorithm encAlgorithm, i… in getObj() argument
103 … Object obj2 = getObj(false, fileKey, encAlgorithm, keyLength, objNum, objGen, recursion + 1); in getObj()
140 …Object obj2 = getObj(false, fileKey, encAlgorithm, keyLength, objNum, objGen, recursion + 1, /*str… in getObj()
158 …_ptr<GooString> s = decryptedString(contentsObj.getString(), fileKey, encAlgorithm, keyLength, obj… in getObj()
166 …if (allowStreams && (str = makeStream(std::move(obj), fileKey, encAlgorithm, keyLength, objNum, ob… in getObj()
198 …std::unique_ptr<GooString> s2 = decryptedString(buf1.getString(), fileKey, encAlgorithm, keyLength… in getObj()
217 Stream *Parser::makeStream(Object &&dict, const unsigned char *fileKey, CryptAlgorithm encAlgorithm in makeStream() argument
311 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, { objNum, objGen }); in makeStream()
/dports/graphics/poppler-qt5/poppler-21.12.0/poppler/
H A DParser.cc70 …ring(const GooString *s, const unsigned char *fileKey, CryptAlgorithm encAlgorithm, int keyLength,… in decryptedString() argument
72 …w MemStream(s->c_str(), 0, s->getLength(), Object(objNull)), fileKey, encAlgorithm, keyLength, { o… in decryptedString()
82 Object Parser::getObj(bool simpleOnly, const unsigned char *fileKey, CryptAlgorithm encAlgorithm, i… in getObj() argument
103 … Object obj2 = getObj(false, fileKey, encAlgorithm, keyLength, objNum, objGen, recursion + 1); in getObj()
140 …Object obj2 = getObj(false, fileKey, encAlgorithm, keyLength, objNum, objGen, recursion + 1, /*str… in getObj()
158 …_ptr<GooString> s = decryptedString(contentsObj.getString(), fileKey, encAlgorithm, keyLength, obj… in getObj()
166 …if (allowStreams && (str = makeStream(std::move(obj), fileKey, encAlgorithm, keyLength, objNum, ob… in getObj()
198 …std::unique_ptr<GooString> s2 = decryptedString(buf1.getString(), fileKey, encAlgorithm, keyLength… in getObj()
217 Stream *Parser::makeStream(Object &&dict, const unsigned char *fileKey, CryptAlgorithm encAlgorithm in makeStream() argument
311 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, { objNum, objGen }); in makeStream()
/dports/graphics/poppler-glib/poppler-21.12.0/poppler/
H A DParser.cc70 …ring(const GooString *s, const unsigned char *fileKey, CryptAlgorithm encAlgorithm, int keyLength,… in decryptedString() argument
72 …w MemStream(s->c_str(), 0, s->getLength(), Object(objNull)), fileKey, encAlgorithm, keyLength, { o… in decryptedString()
82 Object Parser::getObj(bool simpleOnly, const unsigned char *fileKey, CryptAlgorithm encAlgorithm, i… in getObj() argument
103 … Object obj2 = getObj(false, fileKey, encAlgorithm, keyLength, objNum, objGen, recursion + 1); in getObj()
140 …Object obj2 = getObj(false, fileKey, encAlgorithm, keyLength, objNum, objGen, recursion + 1, /*str… in getObj()
158 …_ptr<GooString> s = decryptedString(contentsObj.getString(), fileKey, encAlgorithm, keyLength, obj… in getObj()
166 …if (allowStreams && (str = makeStream(std::move(obj), fileKey, encAlgorithm, keyLength, objNum, ob… in getObj()
198 …std::unique_ptr<GooString> s2 = decryptedString(buf1.getString(), fileKey, encAlgorithm, keyLength… in getObj()
217 Stream *Parser::makeStream(Object &&dict, const unsigned char *fileKey, CryptAlgorithm encAlgorithm in makeStream() argument
311 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, { objNum, objGen }); in makeStream()
/dports/graphics/poppler-utils/poppler-21.12.0/poppler/
H A DParser.cc70 …ring(const GooString *s, const unsigned char *fileKey, CryptAlgorithm encAlgorithm, int keyLength,… in decryptedString() argument
72 …w MemStream(s->c_str(), 0, s->getLength(), Object(objNull)), fileKey, encAlgorithm, keyLength, { o… in decryptedString()
82 Object Parser::getObj(bool simpleOnly, const unsigned char *fileKey, CryptAlgorithm encAlgorithm, i… in getObj() argument
103 … Object obj2 = getObj(false, fileKey, encAlgorithm, keyLength, objNum, objGen, recursion + 1); in getObj()
140 …Object obj2 = getObj(false, fileKey, encAlgorithm, keyLength, objNum, objGen, recursion + 1, /*str… in getObj()
158 …_ptr<GooString> s = decryptedString(contentsObj.getString(), fileKey, encAlgorithm, keyLength, obj… in getObj()
166 …if (allowStreams && (str = makeStream(std::move(obj), fileKey, encAlgorithm, keyLength, objNum, ob… in getObj()
198 …std::unique_ptr<GooString> s2 = decryptedString(buf1.getString(), fileKey, encAlgorithm, keyLength… in getObj()
217 Stream *Parser::makeStream(Object &&dict, const unsigned char *fileKey, CryptAlgorithm encAlgorithm in makeStream() argument
311 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, { objNum, objGen }); in makeStream()
/dports/graphics/swftools/swftools-0.9.2/lib/pdf/xpdf/
H A DParser.cc40 CryptAlgorithm encAlgorithm, int keyLength, in getObj() argument
64 obj->arrayAdd(getObj(&obj2, fileKey, encAlgorithm, keyLength, in getObj()
85 obj->dictAdd(key, getObj(&obj2, fileKey, encAlgorithm, keyLength, in getObj()
94 if ((str = makeStream(obj, fileKey, encAlgorithm, keyLength, in getObj()
124 fileKey, encAlgorithm, keyLength, in getObj()
144 CryptAlgorithm encAlgorithm, int keyLength, in makeStream() argument
198 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, in makeStream()
/dports/graphics/xpdf3/xpdf-3.04/xpdf/
H A DParser.cc45 CryptAlgorithm encAlgorithm, int keyLength, in getObj() argument
69 obj->arrayAdd(getObj(&obj2, gFalse, fileKey, encAlgorithm, keyLength, in getObj()
92 fileKey, encAlgorithm, keyLength, in getObj()
101 if ((str = makeStream(obj, fileKey, encAlgorithm, keyLength, in getObj()
131 fileKey, encAlgorithm, keyLength, in getObj()
151 CryptAlgorithm encAlgorithm, int keyLength, in makeStream() argument
209 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, in makeStream()
/dports/devel/tex-web2c/texlive-20150521-source/libs/xpdf/xpdf-3.04/xpdf/
H A DParser.cc45 CryptAlgorithm encAlgorithm, int keyLength, in getObj() argument
69 obj->arrayAdd(getObj(&obj2, gFalse, fileKey, encAlgorithm, keyLength, in getObj()
92 fileKey, encAlgorithm, keyLength, in getObj()
101 if ((str = makeStream(obj, fileKey, encAlgorithm, keyLength, in getObj()
131 fileKey, encAlgorithm, keyLength, in getObj()
151 CryptAlgorithm encAlgorithm, int keyLength, in makeStream() argument
209 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, in makeStream()
/dports/japanese/tex-ptex/texlive-20150521-source/libs/xpdf/xpdf-3.04/xpdf/
H A DParser.cc45 CryptAlgorithm encAlgorithm, int keyLength, in getObj() argument
69 obj->arrayAdd(getObj(&obj2, gFalse, fileKey, encAlgorithm, keyLength, in getObj()
92 fileKey, encAlgorithm, keyLength, in getObj()
101 if ((str = makeStream(obj, fileKey, encAlgorithm, keyLength, in getObj()
131 fileKey, encAlgorithm, keyLength, in getObj()
151 CryptAlgorithm encAlgorithm, int keyLength, in makeStream() argument
209 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, in makeStream()
/dports/print/tex-basic-engines/texlive-20150521-source/libs/xpdf/xpdf-3.04/xpdf/
H A DParser.cc45 CryptAlgorithm encAlgorithm, int keyLength, in getObj() argument
69 obj->arrayAdd(getObj(&obj2, gFalse, fileKey, encAlgorithm, keyLength, in getObj()
92 fileKey, encAlgorithm, keyLength, in getObj()
101 if ((str = makeStream(obj, fileKey, encAlgorithm, keyLength, in getObj()
131 fileKey, encAlgorithm, keyLength, in getObj()
151 CryptAlgorithm encAlgorithm, int keyLength, in makeStream() argument
209 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, in makeStream()
/dports/print/tex-aleph/texlive-20150521-source/libs/xpdf/xpdf-3.04/xpdf/
H A DParser.cc45 CryptAlgorithm encAlgorithm, int keyLength, in getObj() argument
69 obj->arrayAdd(getObj(&obj2, gFalse, fileKey, encAlgorithm, keyLength, in getObj()
92 fileKey, encAlgorithm, keyLength, in getObj()
101 if ((str = makeStream(obj, fileKey, encAlgorithm, keyLength, in getObj()
131 fileKey, encAlgorithm, keyLength, in getObj()
151 CryptAlgorithm encAlgorithm, int keyLength, in makeStream() argument
209 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, in makeStream()
/dports/print/tex-luatex/texlive-20150521-source/libs/xpdf/xpdf-3.04/xpdf/
H A DParser.cc45 CryptAlgorithm encAlgorithm, int keyLength, in getObj() argument
69 obj->arrayAdd(getObj(&obj2, gFalse, fileKey, encAlgorithm, keyLength, in getObj()
92 fileKey, encAlgorithm, keyLength, in getObj()
101 if ((str = makeStream(obj, fileKey, encAlgorithm, keyLength, in getObj()
131 fileKey, encAlgorithm, keyLength, in getObj()
151 CryptAlgorithm encAlgorithm, int keyLength, in makeStream() argument
209 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, in makeStream()
/dports/print/tex-xetex/texlive-20150521-source/libs/xpdf/xpdf-3.04/xpdf/
H A DParser.cc45 CryptAlgorithm encAlgorithm, int keyLength, in getObj() argument
69 obj->arrayAdd(getObj(&obj2, gFalse, fileKey, encAlgorithm, keyLength, in getObj()
92 fileKey, encAlgorithm, keyLength, in getObj()
101 if ((str = makeStream(obj, fileKey, encAlgorithm, keyLength, in getObj()
131 fileKey, encAlgorithm, keyLength, in getObj()
151 CryptAlgorithm encAlgorithm, int keyLength, in makeStream() argument
209 str = new DecryptStream(str, fileKey, encAlgorithm, keyLength, in makeStream()

1234567