List of usage examples for org.bouncycastle.bcpg.sig NotationData getNotationValue
public String getNotationValue()
From source file:org.sufficientlysecure.keychain.pgp.WrappedSignature.java
License:Open Source License
public HashMap<String, String> getNotation() { HashMap<String, String> result = new HashMap<>(); // If there is any notation data if (mSig.getHashedSubPackets() != null && mSig.getHashedSubPackets().hasSubpacket(SignatureSubpacketTags.NOTATION_DATA)) { // Iterate over notation data for (NotationData data : mSig.getHashedSubPackets().getNotationDataOccurrences()) { result.put(data.getNotationName(), data.getNotationValue()); }/*from w w w . j ava 2 s .co m*/ } return result; }