aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/elfutils
Commit message (Expand)AuthorAgeFilesLines
* elfutils: Fix compile with uClibc-ngRosen Penev2019-05-052-1/+39
* elfutils: bump to 0.176Jose Olivera2019-04-262-4/+4
* elfutils: fix install .so globMatt Merhar2019-02-261-3/+3
* elfutils: fix DEPENDS for libelfPeter Wagner2019-02-171-2/+2
* libelf: fix library packagingJo-Philipp Wich2019-01-251-2/+2
* elfutils: rename libelf1 to libelfJo-Philipp Wich2019-01-241-5/+6
* treewide: revise library packagingJo-Philipp Wich2019-01-241-4/+5
* elfutils: bump to 0.175Kevin Darbyshire-Bryant2019-01-141-3/+3
* elfutils: fix gcc 8.0+ multistatement macros warning/errorChristian Lamparter2018-12-201-6/+8
* elfutils: produce correct libelf.pc file when building with full nlsJo-Philipp Wich2018-12-202-3/+27
* elfutils: install library files for pkg-configTony Ambardar2018-12-191-0/+3
* Revert "elfutils: install library files for pkg-config"Kevin Darbyshire-Bryant2018-12-161-3/+0
* elfutils: install library files for pkg-configTony Ambardar2018-12-121-0/+3
* elfutils: bump to 0.174Luiz Angelo Daros de Luca2018-09-212-533/+7
* elfutils: Copy missing libraries to staging and packagesTed Hess2018-07-241-6/+6
* elfutils: bump to 0.173Luiz Angelo Daros de Luca2018-07-047-351/+149
* add PKG_CPE_ID ids to package and toolsAlexander Couzens2017-11-171-0/+1
* package/elfutils: add CFLAG -Wno-format-nonliteralAlexander Couzens2017-11-131-1/+1
* elfutils: Pass -Wno-unused-result to silence warnings as errorsFlorian Fainelli2017-05-261-1/+1
* elfutils: bump to 0.169Luiz Angelo Daros de Luca2017-05-186-241/+271
* elfutils: bump to 0.168Luiz Angelo Daros de Luca2017-01-036-218/+183
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
* elfutils: bump to 0.167Luiz Angelo Daros de Luca2016-11-038-134/+16
* elfutils: remove unrecognized config optionDirk Neukirchen2016-06-011-1/+0
* elfutils: fix compatibility with non-glibc buildsFelix Fietkau2016-01-211-0/+33
* elfutils: bump to 0.165Felix Fietkau2016-01-206-14/+14
* elfutils: bump to 0.164Felix Fietkau2015-11-118-2084/+25
* elfutils: bump to 0.163Steven Barth2015-06-296-140/+141
* elfutils: bump to 0.162Felix Fietkau2015-06-159-447/+634
* elfutils: import package from packages.gitFelix Fietkau2015-06-1410-0/+2988
>PGPPublicKeyRing mRing; CanonicalizedPublicKeyRing(PGPPublicKeyRing ring, int verified) { super(verified); mRing = ring; } public CanonicalizedPublicKeyRing(byte[] blob, int verified) { super(verified); if(mRing == null) { // get first object in block PGPObjectFactory factory = new PGPObjectFactory(blob); try { Object obj = factory.nextObject(); if (! (obj instanceof PGPPublicKeyRing)) { throw new RuntimeException("Error constructing CanonicalizedPublicKeyRing, should never happen!"); } mRing = (PGPPublicKeyRing) obj; if (factory.nextObject() != null) { throw new RuntimeException("Encountered trailing data after keyring, should never happen!"); } } catch (IOException e) { throw new RuntimeException("IO Error constructing CanonicalizedPublicKeyRing, should never happen!"); } } } PGPPublicKeyRing getRing() { return mRing; } /** Getter that returns the subkey that should be used for signing. */ CanonicalizedPublicKey getEncryptionSubKey() throws PgpGeneralException { PGPPublicKey key = getRing().getPublicKey(getEncryptId()); if(key != null) { CanonicalizedPublicKey cKey = new CanonicalizedPublicKey(this, key); if(!cKey.canEncrypt()) { throw new PgpGeneralException("key error"); } return cKey; } throw new PgpGeneralException("no encryption key available"); } public IterableIterator<CanonicalizedPublicKey> publicKeyIterator() { @SuppressWarnings("unchecked") final Iterator<PGPPublicKey> it = getRing().getPublicKeys(); return new IterableIterator<CanonicalizedPublicKey>(new Iterator<CanonicalizedPublicKey>() { @Override public boolean hasNext() { return it.hasNext(); } @Override public CanonicalizedPublicKey next() { return new CanonicalizedPublicKey(CanonicalizedPublicKeyRing.this, it.next()); } @Override public void remove() { it.remove(); } }); } }