@Test(expected = IllegalArgumentException.class) public void testAlgorithmNameToTagExpectFail() { KeyGeneratorServicePgpImpl.algorithmNameToTag("invalid"); }
protected final static int algorithmNameToTag(String algorithmName) { return getStaticFieldValue(algorithmName, PublicKeyAlgorithmTags.class); }
KeyGeneratorServicePgpImpl implements KeyGeneratorService { protected final static int algorithmNameToTag(String algorithmName) { return getStaticFieldValue(algorithmName, PublicKeyAlgorithmTags.class); } }
KeyGeneratorServicePgpImpl implements KeyGeneratorService { protected final static int algorithmNameToTag(String algorithmName) { return getStaticFieldValue(algorithmName, PublicKeyAlgorithmTags.class); } KeyGeneratorServicePgpImpl(); }
KeyGeneratorServicePgpImpl implements KeyGeneratorService { protected final static int algorithmNameToTag(String algorithmName) { return getStaticFieldValue(algorithmName, PublicKeyAlgorithmTags.class); } KeyGeneratorServicePgpImpl(); @Override Key createNewKey(CreateKeyParams params, boolean emptyPassphraseConsent); @Override void expectNewKeyCreation(); String getEncryptionKeyAlgorithm(); @Required void setEncryptionKeyAlgorithm(String encryptionKeyAlgorithm); KeyPairParams getMasterKeyParameters(); String getMasterKeyAlgorithm(); @Required void setMasterKeyAlgorithm(String masterKeyAlgorithm); int getMasterKeySize(); @Required void setMasterKeySize(int masterKeySize); BigInteger getDhParamsPrimeModulus(); @Required void setDhParamsPrimeModulus(BigInteger dhParamsPrimeModulus); BigInteger getDhParamsBaseGenerator(); @Required void setDhParamsBaseGenerator(BigInteger dhParamsBaseGenerator); String getEncryptionKeyPurpose(); @Required void setEncryptionKeyPurpose(String encryptionKeyPurpose); String getMasterKeySignerHashingAlgorithm(); @Required void setMasterKeySignerHashingAlgorithm(String masterKeySignerHashingAlgorithm); String getSecretKeyHashingAlgorithm(); @Required void setSecretKeyHashingAlgorithm(String secretKeyHashingAlgorithm); String getSecretKeyEncryptionAlgorithm(); @Required void setSecretKeyEncryptionAlgorithm(String secretKeyEncryptionAlgorithm); String getMasterKeySignerAlgorithm(); @Required void setMasterKeySignerAlgorithm(String masterKeySignerAlgorithm); String getMasterKeyPurpose(); @Required void setMasterKeyPurpose(String masterKeyPurpose); }
KeyGeneratorServicePgpImpl implements KeyGeneratorService { protected final static int algorithmNameToTag(String algorithmName) { return getStaticFieldValue(algorithmName, PublicKeyAlgorithmTags.class); } KeyGeneratorServicePgpImpl(); @Override Key createNewKey(CreateKeyParams params, boolean emptyPassphraseConsent); @Override void expectNewKeyCreation(); String getEncryptionKeyAlgorithm(); @Required void setEncryptionKeyAlgorithm(String encryptionKeyAlgorithm); KeyPairParams getMasterKeyParameters(); String getMasterKeyAlgorithm(); @Required void setMasterKeyAlgorithm(String masterKeyAlgorithm); int getMasterKeySize(); @Required void setMasterKeySize(int masterKeySize); BigInteger getDhParamsPrimeModulus(); @Required void setDhParamsPrimeModulus(BigInteger dhParamsPrimeModulus); BigInteger getDhParamsBaseGenerator(); @Required void setDhParamsBaseGenerator(BigInteger dhParamsBaseGenerator); String getEncryptionKeyPurpose(); @Required void setEncryptionKeyPurpose(String encryptionKeyPurpose); String getMasterKeySignerHashingAlgorithm(); @Required void setMasterKeySignerHashingAlgorithm(String masterKeySignerHashingAlgorithm); String getSecretKeyHashingAlgorithm(); @Required void setSecretKeyHashingAlgorithm(String secretKeyHashingAlgorithm); String getSecretKeyEncryptionAlgorithm(); @Required void setSecretKeyEncryptionAlgorithm(String secretKeyEncryptionAlgorithm); String getMasterKeySignerAlgorithm(); @Required void setMasterKeySignerAlgorithm(String masterKeySignerAlgorithm); String getMasterKeyPurpose(); @Required void setMasterKeyPurpose(String masterKeyPurpose);  }