Package org.bouncycastle.mls
Class GroupKeySet
java.lang.Object
org.bouncycastle.mls.GroupKeySet
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGroupKeySet
(MlsCipherSuite suite, TreeSize treeSize, Secret encryptionSecret) -
Method Summary
Modifier and TypeMethodDescriptionapplicationRatchet
(LeafIndex sender) boolean
void
erase
(ContentType contentType, LeafIndex sender, int generation) get
(ContentType contentType, LeafIndex sender, byte[] reuseGuard) get
(ContentType contentType, LeafIndex sender, int generation, byte[] reuseGuard) handshakeRatchet
(LeafIndex sender) boolean
-
Field Details
-
secretTree
-
-
Constructor Details
-
GroupKeySet
public GroupKeySet(MlsCipherSuite suite, TreeSize treeSize, Secret encryptionSecret) throws IOException, IllegalAccessException - Throws:
IOException
IllegalAccessException
-
-
Method Details
-
equals
-
get
public KeyGeneration get(ContentType contentType, LeafIndex sender, int generation, byte[] reuseGuard) throws IOException, IllegalAccessException - Throws:
IOException
IllegalAccessException
-
get
public KeyGeneration get(ContentType contentType, LeafIndex sender, byte[] reuseGuard) throws IOException, IllegalAccessException - Throws:
IOException
IllegalAccessException
-
erase
public void erase(ContentType contentType, LeafIndex sender, int generation) throws IOException, IllegalAccessException - Throws:
IOException
IllegalAccessException
-
handshakeRatchet
public GroupKeySet.HashRatchet handshakeRatchet(LeafIndex sender) throws IOException, IllegalAccessException - Throws:
IOException
IllegalAccessException
-
applicationRatchet
public GroupKeySet.HashRatchet applicationRatchet(LeafIndex sender) throws IOException, IllegalAccessException - Throws:
IOException
IllegalAccessException
-
hasLeaf
-