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) booleanvoiderase(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:
IOExceptionIllegalAccessException
-
-
Method Details
-
equals
-
get
public KeyGeneration get(ContentType contentType, LeafIndex sender, int generation, byte[] reuseGuard) throws IOException, IllegalAccessException - Throws:
IOExceptionIllegalAccessException
-
get
public KeyGeneration get(ContentType contentType, LeafIndex sender, byte[] reuseGuard) throws IOException, IllegalAccessException - Throws:
IOExceptionIllegalAccessException
-
erase
public void erase(ContentType contentType, LeafIndex sender, int generation) throws IOException, IllegalAccessException - Throws:
IOExceptionIllegalAccessException
-
handshakeRatchet
public GroupKeySet.HashRatchet handshakeRatchet(LeafIndex sender) throws IOException, IllegalAccessException - Throws:
IOExceptionIllegalAccessException
-
applicationRatchet
public GroupKeySet.HashRatchet applicationRatchet(LeafIndex sender) throws IOException, IllegalAccessException - Throws:
IOExceptionIllegalAccessException
-
hasLeaf
-