Public Member Functions | |
KDFContentKeys (String encryptionAlgorithm, byte[] masterKey, String label) throws NoSuchAlgorithmException, NoSuchPaddingException | |
EncryptedIVStaticContentKeys constructor. | |
KDFContentKeys (byte[] masterKey, String label) throws NoSuchAlgorithmException, NoSuchPaddingException | |
Create a EncryptedIVStaticContentKeys with the default algorithm. | |
KDFContentKeys (String encryptionAlgorithm, Key masterKey, String label) throws NoSuchAlgorithmException, NoSuchPaddingException | |
KDFContentKeys constructor. | |
KDFContentKeys (KDFContentKeys other) | |
KDFContentKeys (ContentKeys other, String label) | |
KDFContentKeys | clone () |
String | getLabel () |
void | setLabel (String newLabel) |
Static Public Member Functions | |
static synchronized ContentKeys | generateRandomKeys (String label) throws NoSuchAlgorithmException, NoSuchPaddingException |
Create a set of random encryption/decryption keys using the default algorithm. | |
Protected Member Functions | |
synchronized KeyAndIV | getKeyAndIVForContent (ContentName contentName, PublisherPublicKeyDigest publisher, long segmentNumber) throws InvalidKeyException, ContentEncodingException |
Protected Attributes | |
String | _label |
org.ccnx.ccn.impl.security.crypto.KDFContentKeys.KDFContentKeys | ( | String | encryptionAlgorithm, | |
byte[] | masterKey, | |||
String | label | |||
) | throws NoSuchAlgorithmException, NoSuchPaddingException |
EncryptedIVStaticContentKeys constructor.
encryptionAlgorithm | (e.g. AES/CTR/NoPadding) the encryption algorithm to use. First component of algorithm should be the algorithm associated with the key. | |
key | key material to be used | |
ivctr | iv or counter material to be used with specified algorithm |
NoSuchPaddingException | ||
NoSuchAlgorithmException |
org.ccnx.ccn.impl.security.crypto.KDFContentKeys.KDFContentKeys | ( | byte[] | masterKey, | |
String | label | |||
) | throws NoSuchAlgorithmException, NoSuchPaddingException |
Create a EncryptedIVStaticContentKeys with the default algorithm.
NoSuchPaddingException | ||
NoSuchAlgorithmException |
static synchronized ContentKeys org.ccnx.ccn.impl.security.crypto.KDFContentKeys.generateRandomKeys | ( | String | label | ) | throws NoSuchAlgorithmException, NoSuchPaddingException [static] |
Create a set of random encryption/decryption keys using the default algorithm.
NoSuchPaddingException | ||
NoSuchAlgorithmException |