public byte[] getSecureBytes() throws IOException, ClassNotFoundException {
    return (byte[]) securePart.getObject();
  }
Creates a new message with the given number of parts
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/Message.java