コード例 #1
0
ファイル: KeySignature.java プロジェクト: mrjonny2/grendel
 /** Returns a list of the preferred {@link HashAlgorithm}s of the key. */
 public List<HashAlgorithm> getPreferredHashAlgorithms() {
   return IntegerEquivalents.fromIntArray(
       HashAlgorithm.class, subpackets.getPreferredHashAlgorithms());
 }
コード例 #2
0
ファイル: KeySignature.java プロジェクト: mrjonny2/grendel
 /** Returns a list of the preferred {@link SymmetricAlgorithm}s of the key. */
 public List<SymmetricAlgorithm> getPreferredSymmetricAlgorithms() {
   return IntegerEquivalents.fromIntArray(
       SymmetricAlgorithm.class, subpackets.getPreferredSymmetricAlgorithms());
 }
コード例 #3
0
ファイル: KeySignature.java プロジェクト: mrjonny2/grendel
 /** Returns a list of the preferred {@link CompressionAlgorithm}s of the key. */
 public List<CompressionAlgorithm> getPreferredCompressionAlgorithms() {
   return IntegerEquivalents.fromIntArray(
       CompressionAlgorithm.class, subpackets.getPreferredCompressionAlgorithms());
 }
コード例 #4
0
ファイル: KeySignature.java プロジェクト: mrjonny2/grendel
 /** Returns the {@link KeyFlag}s asserted by the signature. */
 public Set<KeyFlag> getKeyFlags() {
   return IntegerEquivalents.fromBitmask(KeyFlag.class, subpackets.getKeyFlags());
 }