Top Fields Constructors Methods
org.bouncycastle.mls.codec

public Class FramedContent

extends Object
implements Readable, Writable
Class Inheritance
All Implemented Interfaces
org.bouncycastle.mls.codec.MLSOutputStream.Writable, org.bouncycastle.mls.codec.MLSInputStream.Readable
Imports
java.io.IOException

Field Summary

Modifier and TypeField and Description
pack-priv byte[]
pack-priv byte[]
pack-priv Commit
pack-priv final ContentType
pack-priv long
pack-priv byte[]
pack-priv Proposal
pack-priv Sender

Constructor Summary

AccessConstructor and Description
public
public
FramedContent(byte[] group_id, long epoch, Sender sender, byte[] authenticated_data, byte[] application_data, ContentType content_type, Proposal proposal, Commit commit)

Method Summary

Modifier and TypeMethod and Description
public static FramedContent
application(byte[] group_id, long epoch, Sender sender, byte[] authenticated_data, byte[] application_data)

public static FramedContent
commit(byte[] group_id, long epoch, Sender sender, byte[] authenticated_data, byte[] commit)

public byte[]
public Commit
public byte[]
public ContentType
public long
public byte[]
public Proposal
public Sender
public static FramedContent
proposal(byte[] group_id, long epoch, Sender sender, byte[] authenticated_data, byte[] proposal)

public static FramedContent
rawContent(byte[] group_id, long epoch, Sender sender, byte[] authenticated_data, ContentType content_type, byte[] contentBytes)

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

application_databack to summary
pack-priv byte[] application_data
authenticated_databack to summary
pack-priv byte[] authenticated_data
commitback to summary
pack-priv Commit commit
contentTypeback to summary
pack-priv final ContentType contentType
epochback to summary
pack-priv long epoch
group_idback to summary
pack-priv byte[] group_id
proposalback to summary
pack-priv Proposal proposal
senderback to summary
pack-priv Sender sender

Constructor Detail

FramedContentback to summary
public FramedContent(MLSInputStream stream) throws IOException
Annotations
@SuppressWarnings:unused
FramedContentback to summary
public FramedContent(byte[] group_id, long epoch, Sender sender, byte[] authenticated_data, byte[] application_data, ContentType content_type, Proposal proposal, Commit commit)

Method Detail

applicationback to summary
public static FramedContent application(byte[] group_id, long epoch, Sender sender, byte[] authenticated_data, byte[] application_data)
commitback to summary
public static FramedContent commit(byte[] group_id, long epoch, Sender sender, byte[] authenticated_data, byte[] commit) throws IOException
getAuthenticated_databack to summary
public byte[] getAuthenticated_data()
getCommitback to summary
public Commit getCommit()
getContentBytesback to summary
public byte[] getContentBytes() throws IOException
getContentTypeback to summary
public ContentType getContentType()
getEpochback to summary
public long getEpoch()
getGroupIDback to summary
public byte[] getGroupID()
getProposalback to summary
public Proposal getProposal()
getSenderback to summary
public Sender getSender()
proposalback to summary
public static FramedContent proposal(byte[] group_id, long epoch, Sender sender, byte[] authenticated_data, byte[] proposal) throws IOException
rawContentback to summary
public static FramedContent rawContent(byte[] group_id, long epoch, Sender sender, byte[] authenticated_data, ContentType content_type, byte[] contentBytes) throws IOException
writeToback to summary
public void writeTo(MLSOutputStream stream) throws IOException

Implements org.bouncycastle.mls.codec.MLSOutputStream.Writable.writeTo.

Annotations
@Override